Has anyone out there been using the Vision framework for doing barcode scanning (primarily EAN13/UPC, Code39 and Code128). I've been working on a scanning solution for a client, but have been having a few issues.
1) Scanning light/white barcodes on dark backgrounds takes significantly longer/is more difficult than dark barcodes on light backgrounds. Has anyone else seen this issue, and is there any way to improve the recognition speed/quality in this case?
2) Is it normal for the boundingBox of the VNBarcodeObservation to be basically a line for "1D" barcodes? (EAN13, Code39, etc.) Is there a way to get the full outline of the barcode from the observation?
3) Trying to set the resolution/FPS of the camera is...ridiculously challenging. Any helpful tips for setting this for optimal barcode scanning? So far I've been defaulting to the standard session preset of AVCaptureSessionPresetHigh (which seems to default to 1920x1080@30fps on the iPad Pro), but have been wondering if recognition would be better in 4K @ 60fps.
Sorry for such a long question, but all the examples I've been able to find so far are either fairly simple (QR code scanning, primarily) or focus more on other areas (face detection, object recognition).
Thanks in advance.