segmenter

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LineSegmenter

type LineSegmenter struct {
	MinLineH     int
	SmoothWindow int
}

func NewLineSegmenter

func NewLineSegmenter(minLineH, smoothWindow int) *LineSegmenter

func (*LineSegmenter) Segment

func (s *LineSegmenter) Segment(img image.Image) ([]SegmentResult, error)

type SegmentResult

type SegmentResult struct {
	Img  image.Image
	BBox image.Rectangle
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL