dayjaby / zebra-scanner

Read barcodes in python with zebra barcode scanner
MIT License
24 stars 18 forks source link

can we capture images using this package? #29

Closed HawkingRadiation42 closed 10 months ago

HawkingRadiation42 commented 1 year ago

basically i want my scanner to scan some barcodes and then shift to image mode to capture images automatically after some barcode scans.
how can i perform this and is it possible using this python packages.

dayjaby commented 1 year ago

In the python wrapper, nothing like this is considered yet. Did you check if the C++ API allows you image capture? In this case, you'd need to add some more code to the wrapper, to expose that to python as well. It shouldn't be too hard, but sadly I don't have a zebra camera right now and can't help you much with that.

shrinand1996 commented 1 year ago

This is what i want as well. The Linux SDK allows to take pictures for the supported scanners. so yes it works

dayjaby commented 10 months ago

@HawkingRadiation42 image capturing done. Check newest example: https://github.com/dayjaby/zebra-scanner/blob/master/examples/cycle_barcode_image_mode.py

HawkingRadiation42 commented 9 months ago

thankyou

nitinss17 commented 8 months ago

hello @dayjaby , thank you for this.

i want the script to capture image and write to disk on hard trigger(physical handle pull), what modifications do i need to do in order to achieve this? if you can drop the code here that would be great! i can copy paste it directly :)

again thank you in advance bcoz this is exactly what i want for my zebra ds3608 scanner .