qr-code

Scan QRcode with inverted colors using Vision API

最后都变了- 提交于 2019-12-14 03:55:30
问题 After struggling a few hours on making my app detect this QRCode: I realized that the problem was the in the QRCode appearance. After inverting the colors, the detection was working perfectly.. Is there a way to make Vision API detect the first QRCode? I tried to enable all symbologies but it did not work. I guess it is possible because the app QR Code Reader detects it. 回答1: I think this is still an open issue, please see link for details. One workaround for this as stated by a developer:

Qr-code decoder from image file (react native)

半腔热情 提交于 2019-12-13 14:24:05
问题 Im looking for a Way to decode qr-code from image file in react native (ios specifically)... I know expo provides camera scanner solution ... But im in need for file decoder Any help is very much appreciated. 回答1: You can use the jsQR library to read QR codes from image files. To choose a file from storage you can try the React Native Image Picker library. 回答2: May be you can use this react-native-qrcode-local-image 来源: https://stackoverflow.com/questions/51920987/qr-code-decoder-from-image

How to read code 39 using zxing in android?

痞子三分冷 提交于 2019-12-13 12:51:56
问题 I am using zxing in my android application to read QR_CODE and Barcodes. My application is unable to read the CODE_39 using zxing. I am using the following code in CaptureActivity OnResume Method: Intent intent = getIntent(); String action = intent == null ? null : intent.getAction(); String dataString = intent == null ? null : intent.getDataString(); if (intent != null && action != null) { if (action.equals(Intents.Scan.ACTION)) { //Scan the formats the intent requested, and return the /

How to split qr codes in separate images?

妖精的绣舞 提交于 2019-12-13 09:37:04
问题 I have hundreds of pictures with qr codes (sometimes there are 0, 1, 2 or more qr codes on one page...but they are always in one line). I want to decode the qr codes from left to right. My idea is to split the qr codes in separate images. Does somebody know a Linux (or Python) solution for this problem? The order I want is: url1, url2, url3, url4, url5, url6. 回答1: I'm on windows, no way of testing on linux right now, but this appears to work as expected. import sys, os try: from pyzbar.pyzbar

zxing - android - read multiples qr images

左心房为你撑大大i 提交于 2019-12-13 08:19:29
问题 How i can do to read multiples QR images and get the code of all images at the same time? For example: I have 3 QR images and when focus my camera to all images i want to read the 3 QR codes at the same time. 回答1: Have a look in the Zxing Barcode Scanner app . It has option in Settings to Scan Bulk Barcodes . So you enable it and check it you can read Multiple QR codes at a time from one or more Images and also check the Source code of Zxing library to Known the detailed Information . Use the

ZXingObjc Integration IOS ,but didn't work at all

ぃ、小莉子 提交于 2019-12-13 08:09:54
问题 I have integrated the ZXingObjc framework,and ViewController as the RootViewController . the codes in ViewController.m follows: #import <AudioToolbox/AudioToolbox.h> #import "ViewController.h" @interface ViewController () @property (nonatomic, strong) ZXCapture *capture; @property (nonatomic, weak) IBOutlet UIView *scanRectView; @property (nonatomic, weak) IBOutlet UILabel *decodedLabel; @end @implementation ViewController #pragma mark - View Controller Methods - (void)dealloc { [self.capture

Error when using QRGen library to generate QR code

霸气de小男生 提交于 2019-12-13 06:08:57
问题 I am using the QRGen library to generate a ByteArrayOutputStream for a QR code and the generate a Bitmap image for it. I have imported the 3 following jars into my project: qrgen-1.0.jar zxing-core-1.7.jar zxing-j2se-1.7.jar This is the method generating the QR code ByteArray: public Bitmap qrBitmapFromString(String qrText){ ByteArrayOutputStream out = QRCode.from(qrText).to(ImageType.PNG).withSize(300, 300).stream(); byte[] data = out.toByteArray(); Bitmap bmp = BitmapFactory.decodeByteArray

How are different content types within QR-Codes distinguished?

泪湿孤枕 提交于 2019-12-13 05:23:13
问题 QR-Codes can contain different contents (URLs, vCards, Wifi-Configurations...) - in the specification of QR-Code seems nothing defined regarding content. How these different content types are distinguished? Only via parsing the first few characters of the content and matching to URL schemes (http:, tel:, fb:)? Or is there another 'magic' value inside the code? So it seems impossible to encode multiple contents in ONE QR-Code without gambling with reader-app-compatibility... e.g. one URL and

Request QR Code and show the image using Angular JS

旧时模样 提交于 2019-12-13 04:53:48
问题 My plan is to create a QR code by using an API (such as Google Charts API) and then show the generated QR code on my website. I created a function that requests a QR Code image from Google Chart API: .controller('DealCtrl', function($scope, $http) { $http.get("https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl=160%20FSU728F29G&coe=UTF-8") .success(function(data, status, headers, config) { $scope.qrcode = data; }).error(function(data, status, headers, config) { $scope.qrcode = status; }

Need advice for creating a digitized ticketing admission system

六月ゝ 毕业季﹏ 提交于 2019-12-13 04:27:15
问题 So I know this guy who runs a club on the east coast and he uses wristbands as admission for his club. He wants to get rid of these wrist bands because people have been creating phony ones. So I plan on having every customer who buys a ticket receive an email address with a QR Code. A ticket seller would enter the customer name and email into my system I'm developing, that system will generate an alphanumeric code and create a new column in an SQL database with that customer name(String), id#