RectangleDetectorWeb class

Web 平台的矩形检测器实现

使用 OpenCV.js 在浏览器中进行图像处理和矩形检测

Inheritance

Constructors

RectangleDetectorWeb()
构造函数

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectAllRectangles(Uint8List imageData) Future<List<Map<String, dynamic>>>
检测图片中所有矩形并返回四个顶点坐标
override
detectRectangle(Uint8List imageData) Future<Map<String, dynamic>?>
检测图片中最大的矩形并返回四个顶点坐标
override
getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith(Registrar registrar) → void
注册 Web 平台实现