Discover Packages
github.com/GuilhermeCaruso/snip
package
module
Version:
v0.0.0-...-8a046b9
Opens a new window with list of versions in this module.
Published: Apr 20, 2019
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
Expand ▾
Collapse ▴
Documentation
¶
Crop is responsible for cutting the selected region of an image.
Decode responsible for decoding and instantiating image based on
a content-type.
Rotate Method responsible for free image rotation
Threshold is responsible for define a new image using
color based on limiar passing on the function call
type ExtractedIMG struct {
}
type Field struct {
Key string `json:"key"`
Mask FieldMask `json:"mask"`
Regexp []string `json:"regexp"`
}
type FieldMask struct {
X int `json:"x"`
Y int `json:"y"`
Width int `json:"width"`
Height int `json:"height"`
}
FieldMask is the struct to define a mask used on
crop method
type KeyValue struct {
Key string `json:"key"`
Value string `json:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.