I want to implement a function,
Scan the barcode with your mobile phone to get the order number,
Then save the order number.
How can it be done?
Give me some inspiration. . .
PHPz2017-05-16 13:24:34
For this kind of barcode, what you need is to find the barcode scanner library in the corresponding language
If you want to scan a QR code, go to the QR code scanner library.
巴扎黑2017-05-16 13:24:34
Why don’t you scan the barcode above? It’s much more accurate than identifying numbers, and there are many libraries available
高洛峰2017-05-16 13:24:34
That barcode is the express delivery number. Originally, this barcode was used for machine identification
给我你的怀抱2017-05-16 13:24:34
Barcode is universal and can be recognized by general scanning modules
某草草2017-05-16 13:24:34
The express delivery number and barcode contain the same information. I have used a barcode scanner to scan the barcode before; if you are using a mobile phone now, you can try to find some barcode recognition drivers;
大家讲道理2017-05-16 13:24:34
This question involves image processing technology. You can use some open source projects such as opencv to identify the barcode part above, and then get the corresponding number by identifying the barcode.
仅有的幸福2017-05-16 13:24:34
You even asked the question in the wrong place. Many people can answer your question on Android and IOS. You also know that you need to scan it with your mobile phone, but you marked PHP and Python, which are not half the same as back-end languages. It’s nothing, I’ve personally seen Android programmers do tracking number scanning
某草草2017-05-16 13:24:34
https://github.com/bingoogola...
There are many open source libraries that can scan barcodes.