Documentation ¶
Index ¶
- type Box
- type FrameDetectResult
- func (f *FrameDetectResult) HitBoxes() []*Box
- func (f *FrameDetectResult) ParseAlerts(alertLabels []string)
- func (f *FrameDetectResult) RejectLowConfidence(minConfidence int)
- func (f *FrameDetectResult) RejectOrientation(requirePortrait bool)
- func (f *FrameDetectResult) RejectOutsideROI(roi *image.Rectangle)
- func (f *FrameDetectResult) RejectSize(minWidth int, minHeight int, maxWidth int, maxHeight int)
- func (f *FrameDetectResult) RejectedBoxes() []*Box
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct { Label string Confidence int Coords image.Rectangle JPEGBytes []byte RejectReason string }
func (*Box) IsPortrait ¶
func (*Box) LabelConfidence ¶
func (*Box) LabelPretty ¶
type FrameDetectResult ¶
func (*FrameDetectResult) HitBoxes ¶
func (f *FrameDetectResult) HitBoxes() []*Box
func (*FrameDetectResult) ParseAlerts ¶
func (f *FrameDetectResult) ParseAlerts(alertLabels []string)
func (*FrameDetectResult) RejectLowConfidence ¶
func (f *FrameDetectResult) RejectLowConfidence(minConfidence int)
func (*FrameDetectResult) RejectOrientation ¶
func (f *FrameDetectResult) RejectOrientation(requirePortrait bool)
func (*FrameDetectResult) RejectOutsideROI ¶
func (f *FrameDetectResult) RejectOutsideROI(roi *image.Rectangle)
func (*FrameDetectResult) RejectSize ¶
func (f *FrameDetectResult) RejectSize(minWidth int, minHeight int, maxWidth int, maxHeight int)
func (*FrameDetectResult) RejectedBoxes ¶
func (f *FrameDetectResult) RejectedBoxes() []*Box
Click to show internal directories.
Click to hide internal directories.