VisionBarcodeDriverLicense
interface
A driver license or ID card.
Example
import vision, { VisionBarcodeValueType } from '@react-native-firebase/ml-vision';
const [barcode, ...otherBarcodes] = await vision().barcodeDetectorProcessImage(filePath);
if (barcode && barcode.valueType === VisionBarcodeValueType.DRIVER_LICENSE) {
console.log(barcode.driverLicense);
}