OCRKitController class

This controller is used to control CameraKiView.dart

Constructors

OCRKitController()

Properties

cameraKitView OCRKitView
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changeFlashMode(CameraFlashMode captureFlashMode) → dynamic
Change flash mode between auto, on and off
closeCamera() → dynamic
Closing camera and dispose all resource
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseCamera() → dynamic
pause camera while stop camera preview. Plugin manage automatically pause camera based android, iOS lifecycle and widget visibility
processImageFromPath(String path) Future<String>
Use this method for process image directly with path
processImageFromPathWithoutView(String path) Future
Use this method for process image directly with path without need ViewState
resumeCamera() → dynamic
resume camera while resume camera preview. Plugin manage automatically resume camera based android, iOS lifecycle and widget visibility
setScanForText(bool isScanningForText) → void
Enable and disable scanning for text in live mode.
setView(OCRKitView cameraKitView) → void
Connect view to this controller
takePicture({String path = ""}) Future<String>
Use this method for taking picture in take picture mode This method return path of image
toString() String
A string representation of this object.
inherited

Operators

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