Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnhanceImage ¶
EnhanceImage improves image contrast and sharpness
func ValidateSquare ¶
ValidateSquare returns whether the 4 given points roughly correspond to a square in the image. Points should be given in the following order: - bottom-left, bottom-right, top-right, top-left - or bottom-right, then top-right, top-left, bottom-left (as returned by gocv.NewQRCodeDetector().Detect function) Parameters width and height correspond to the global image size, to check for out-of-image points.
Types ¶
Click to show internal directories.
Click to hide internal directories.