Detect Polygon On Page Use Case
class DetectPolygonOnPageUseCase(documentScanner: DocumentScanner, pageFileStorage: PageFileStorage)
Use case to handle the detection a polygon on the given page and returns detected polygon and image
Types
Link copied to clipboard
data class BitmapLines(val polygon: List<PointF>, val vertical: List<LineSegmentFloat>?, val horizontal: List<LineSegmentFloat>?, val bitmap: Bitmap)
Encapsulates information about the detected polygon, lines and bitmap extracted from the page
Functions
Link copied to clipboard
suspend fun detectPolygonOnPage(page: Page): <Error class: unknown class><DetectPolygonOnPageUseCase.BitmapLines?>
Detect polygon on the given page