How to QR-scan image from gallery or Base64 data? - qr-code

As the question indicates, how can I take a image into account and scan it using QR scanner, Image is received form backend, practically i can return the image in any format to my app, So i thought i will send the image in base64, But question arises, is how to covert that image in any way to make it possible to QR scan it,
So i break down it into two parts,
Saving the received image.
Taking that image and QR scan it.
Searched a lot but all the libraries are pointing towards scanning the QR using camera.
How can I achieve this two parts, Basically am asking for suggestions,
Any kind of help will be greatly appreciated.
Thanks in advance.

Related

Qr code can't identify

I have a picture qr code, want to long press to identify this qr code picture, but can't identify, excuse me what reason, is the qr code picture is there a problem?
if your trying to say you cant decode the QRcode then heres your solution.
if your trying to say somthing else then im sorry for my off topic solution
as Burhan Khalid said the code is valid, but your your code is missing a border.
the border (or quiet zone) helps separate the QRcode from your content.
heres my test
im going to use https://webqr.com/index.html for decoding.
i uploaded it to the web site and it didn't decode.
i then opened it in gimp and gave it a border of 25 pixels, i then saved and uploaded the new code to the website and it decoded successfully
heres your qr code with 25px quiet zone,
heres the structure of a QRcode
Source the wikipedia article on QR codes, subsection Standards

Stuck between augmented reality and video editing

So here is the thing.
I got a camera and elements moving in front of this camera. I know the gps coords. of the camera and of the elements. Now I want to put an overlay on the video, to place tooltips next to the elements. After that I need to stream the enriched video to the clients.
I already tried OBS with an transparent browser layer on top of the camera video, but I failed at the calculations of the right tooltip location. I think this is something somebody already took care of, but I could not find a liberay or framework for this yet.
Did someone already solved a similar Problem ? Or is there a framework for something like this?
Thank's for your help !
Maybe the Wikitude SDK offers what you need. For the streaming part you might need to implement a plugin so that you can send the video stream to the clients

JavaFX - How to get a random thumbnail / picture from a movie?

Is it possible to get a random picture from a video in JavaFx?
I know there is a snapshot() method provided by MediaView, but the thing is, I wanna get a picture of each video I loaded BEFORE it was displayed in MediaView.
I need those pictures to create previews in my library, hopefully you realize what is meant.
Thanks in advance for any idea or suggestion :)

Decode QR-Code in scanned PDF

I'm trying to decode qr-codes in a PDF (generate by Scan2Mail with a Canon iR Scanner).
I know the quality is quite poor (see attached image), but with every single iOS app for qr-code scanning I can successfully scan the code within milliseconds filming the image below with the iPhone cam.
I tried to scan with zbarimg and zxing but nothing did work. Do you have ideas what to do? maybe enhance the image somehow with imagemagick?
It seems counter-intuitive that an image of an image decodes, when the original image doesn't. An app is seeing a stream of slightly different versions of the image. The original is damaged and distorted. The blur that results when the camera captures it can actually help remove the noise. Yes, zxing decodes this fine -- from the Barcode Scanner app.
Try running this through a light blur filter first.

QRCode which contains an image and text?

Is it possible that the data of a QRCode could contain an image and text? I am not talking about an image placed on top of the QRCode, but when you scan the QRCode that it would contain the data of an image to display along with some text?
Basically when I scan my QRCode, I would like for it to show my photo name and phone number. I am pretty sure that standard QRCode readers wouldnt be able to read the data so I am sure that I would also need a custom QRCode reader.
Not really. The maximum amount of data you can store in a QR code is ~4KB. That's not really enough for any image files.
Yes, it can be possible by compressing an image to near about 1.5kb and then convert it into BASE64 format by following whatever you text want to place into QR code.However, you might require more than 10mp camera to fetch information from QR Code.This is the example of Qr Code with image and text.

Resources