CityScope / CSL_Lima

0 stars 2 forks source link

Library not available in Processing #28

Open vaap1997 opened 5 years ago

vaap1997 commented 5 years ago

@agrignard We did the QRreader but It doesn´t recognize the QRs all the time. I was looking for other libraries and I found one, I prove it in python and it works pretty rad, but I couldn´t install it on processing. I found the source on github (https://github.com/ZBar/ZBar) for java but I don´t know how to import it on processing. I try including it on processing/libraries and on the sketch inside a code folder and a libraries folder and It doesn´t work. I don´t know if you have ever had this problem. I am migrating the QRreader project to python and what I have advance is working. Maybe a second option can be to use python instead of processing, because there is a lot of difference between these two libraries.

agrignard commented 5 years ago

HI @vaap1997 , that sounds like a bad news for processing.

What do you mean by "We did the QRreader but It doesn´t recognize the QRs all the time" is the programm crashing or simply not recognizing the QrCode?

FYI for the scanner in python @RELNO is already working on a python version but it might be interesting to see if it can be enhanced with a QRCode reader also.

vaap1997 commented 5 years ago

@agrignard sorry for the delay, these days I have been more busy that I though. I just push a python version of QR reader. It reads the grid and send a message though UDP every 30seconds. I need to do interactive the grid size and the wiki. I use @RELNO to the UDP interaction, thanks for the help! About the one on processing It does read some qrs of the grid but it miss some too. Python library catch all the qrs while the processing library miss some using with the same image for both. Processing library don't crush but some times don't get all QRs.

vaap1997 commented 5 years ago

Ok so I just did the grid export to a JSON file, the reading and writing calibration parameters and the interactive nblocks with the keyboard. I will work on the wiki! The code had comments to install and understand the script, I am gonna put all these on the wiki.