dispose method
Closes and disposes active vision resources.
Implementation
Future<void> dispose() async {
_isInitialized = false;
try {
await _barcodeScanner.close();
} catch (_) {}
try {
await _textRecognizer.close();
} catch (_) {}
try {
await _faceDetector.close();
} catch (_) {}
}