Is ZXing able to decode older versions of Data Matrix barcodes? - xamarin.forms

I was able to implement ZXing on my iOS mobile app written in Xamarin.forms, but the scanner could only read the new standard ECC200 Data Matrix barcodes. The app fails to decode older versions such as ECC140. Unfortunately, these older version Data Matrix barcodes are what is affixed on all our inventories. Is there a function call that I could make or plugin that I could use with ZXing to allow for decoding of different versions of Data Matrix barcodes?
ZXing does a great job at reading most 1D and 2D barcodes. However, there doesn't seem to be support for different types of QR Codes such as Micro QR Codes or for older versions of Data Matrix.
Again, could ZXing read different versions of Data Matrix barcodes? And how?

Related

Xamarin scanner for small Barcodes / QRCodes

I am working on a Xamarin QRCode scanner prototype and the aim is to make the App being able to scan QR codes as small as 1.8/1.8 mm. I have tried the GoogleVision and also the ZXing. The GoogleVision is able to scan them but it is not convenient at all since it hardly depends on the Camera quality, position, illumination, and stability. Also tried Camera / Image Scannig to take a picture while the user is able to zoom on the QR code, still so hard to do that for a user (it cannot detect the QR code 9 out of 10).
TBH, I have searched a lot and manipulated these libraries and couldn't get it to work. On the other hand, there are Apps on the market that they can simply scan these small QR codes. (which I believe they are not based on Xamarin) I have noticed some of them are using ZXing but I couldn't find any useful information on how they are managing these small QR Codes! So my question is:
Is it possible to use Xamarin and ZXing or GoogleVision for this matter? If yes, any further information would be hugely appreciated.
Is there any library that can handle these small QR codes (Commercial or non-commercial)?
Thank you in advance.
Cheers 🤘

Ghidra and MSP430 decompiler does not show any functions

I'm experimenting with Ghidra and decompiling code intended for the MSP430 FR4133 Launchpad. I'm not sure if it's supported but Ghidra appeared to support MSP430 devices.
For a simple test, I'm using the example code at this link for the MSP EXP430FR4133 Launchpad.
This link contains a simple source program in this directory
MSP-EXP430FR4133_Software_Examples_windows\Firmware\Source\OutOfBox_MSP430FR4133. It's a simple program with a stop watch and temperature sensor.
I decided to load the binary that's also there in the Binary folder.
Then I selected TI MSP430 16-bit and let Ghidra do the analysis. The problem is that the decompiler doesn't provide any functions. I'm wondering if I've selected the wrong architecture or option?
UPDATE 1
I'm posting two extra images which show two functions but there's nothing of any significance.
You are not decompiling a raw binary, but a text file.
If you look at the Readme, it indicates that this is a pre-built TI-TXT image.
Basically, it contains small chunks of data encoded in hexadecimal, prefixed with the load address. See the format definition here.
Ghidra supports similar formats (Intel HEX or Motorola S-Records), but not TI-TXT. I didn't find a tool to convert it to a supported format, but this could probably be done with a small script.

Android QR code reading libs

I have an Android QR code reading app that runs on a cheap phone with no autofocus. QR code that I must read is small and on camera preview looks blurry. The one app able to read this code is NeoReader.
Does everybody know good free libraries to read QR codes?
I know that:
ZBar (it's ok but not works with blurry code)
ZXing (this Barcode reader not reads the required code; don't tried to integrate)
NeoReader SDK (not free)
My init code for ZBar:
scanner = new ImageScanner();
scanner.setConfig(0, Config.ENABLE, 0);
scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1);
scanner.setConfig(0, Config.X_DENSITY, 1);
scanner.setConfig(0, Config.Y_DENSITY, 1);
If none of the four above is an option (or even if they where!) I would strongly suggest using Googles own library found in Google Play services under the namespace com.google.android.gms.vision.barcode. It scans the codes locally, fast and robust, and you have full control of the source code in just a few classes.
For a simple example check out Android QR Code Reader Made Easy. That should get you up and running in no time! There's also further reading linked at the end of the post for advanced examples.

Generating QR Barcode using iTextSharp

I have an array of values say
arr(0)="Sam"
arr(1)="1452"
arr(2)="NY"
I want to generate a QR barcode with these values. We are using ITextSharp. Any help will be appreciated. Iam using vb.net.
Here are some examples how to create barcodes with iText:
http://itextpdf.com/examples/iia.php?id=297 (the last one is a QR barcode)
The datails of the API is here:
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/BarcodeQRCode.html
Please note that even though these links refer to the Java version of iText, the names in iTextSharp should be pretty similar.

How to generate QR codes using library in .Net

I am planning to explore on QR code generation . I saw the google api http://chart.apis.google.com/chart?cht=qr&chs=75x75&chl=test and its pretty impressive. But it works only for URL's and small data's. So i am thinking about writing a .net app to generate the QR code. So any information on libraries to start with ,will be helpful.
Thanks,
It does not just work for URLs. You can put whatever text you want as an argument (just URL-encode it correctly). It also works for any data size that QR codes can support.

Resources