Closed Agmcz closed 1 year ago
What are preferred camerascan settings for fast scan
There are many default settings for CameraScan. What parameter settings do you mean by the preferred settings for fast scan?
For example: https://github.com/ahuyangdong/QrCodeLib when i scan same barcode with QrCodeLib and ZXingLite i notice that QrCodeLib is faster i asked for a preferred setting to have the scan like QrCodeLib.
You can refer to the following configuration examples:
DecodeConfig decodeConfig = new DecodeConfig();
// The set of hints to use for subsequent calls to decode(image)
decodeConfig.setHints(DecodeFormatManager.QR_CODE_HINTS);
// ResolutionCameraConfig or AspectRatioCameraConfig
cameraScan.setCameraConfig(new ResolutionCameraConfig(this))
.setAnalyzer(new MultiFormatAnalyzer(decodeConfig));
See example: QRCodeActivity
Thanks.
What are preferred camerascan settings for fast scan