We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Scanning Multiple Barcodes takes too much time

Hello!
we’re about to use Barcode recognition cloud API for around 20 000 photos of barcodes. Some of them contain multiple barcodes on the same picture. see Example below.

As I’m using power automate where there is default time-out for HTTP request set to 2 min and unable to change most of the barcodes go into a time out , as the reading takes more than 120 secs. This applies to all photos with multiple barcodes.

Could you help me to come up with set of parameters that would increase the recognition speed?

0A94F299-FFF9-46B1-ABC2-F790DC0D6D5F—detail.jpg (422.9 KB)
0A94F299-FFF9-46B1-ABC2-F790DC0D6D5F—detail.jpg (423 KB)

@jurajcirc

Please note barcode recognition performance mostly depends on image size, barcode type hints(Type ) and server performance. Explicit barcode type hint for respective barcode type and lower image resolution/size increase the performance. I have tested your shared image with barcode hint and the API read the barcodes in 30+ seconds at my end.

.........
 var request = new PostBarcodeRecognizeFromUrlOrContentRequest(
        image: image,
        checksumValidation: ChecksumValidation.Off.ToString(),
        preset: PresetType.NormalQuality.ToString(),     
        type: "Code128"
    );
..........

Thanks ! This helped a lot.

1 Like