Decode QR-Code in scanned PDF - decode

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.

Related

omxplayer not loading a playlist file

So i'm trying to make my raspberry pi play a bunch of video files on it's own.
I got omxplayer setup and working to actually play video to the screen the pi is connected to and not the remote terminal and also working with the usb sound card.
(the pi is connected to composite video not hdmi and I couldn't get audio ova gpio working and this is a pi zero w so no headphone jack, so yes it's an odd setup)
I also setup an sh script to play video files.
and so on..
However, when it's finished with one video file and changes to another, the pi will show the terminal for a second while it loads the next video and then will play that video. I would like it if it didn't have to keep loading new individual omxplayer commands like this.
a workaround hack would be to some how blank the display of the terminal so I just get a second of black screen and then the next video. But what I would really like to do is to just make a playlist file and play that.
I tried m3u, m3u8, xspf and even html but I got nothing.
I saw a script that mentioned a .pls playlist so I tried to make one of those, that indeed did seem to load something but didn't play it?
I tried editing in an absolute file path and just the normal file name and got the same result.
Temp hacks would be some how blanking the terminal display on the pi its self
or using something like ffmpeg to just combined all my videos into one huge video file, but I think a playlist file is going to be better in the long run, just have to figure out what playlist format omxplayer is happy with.

Curious if Barcode photo taken can be used in Xamarin Emulator

I have created a barcode scanner; That works fine. I am using Xamarin Forms and working with Android. I had recently received some barcode samples in photo format, however the photo's are not being recognized when I print them out and scan them.
Next, I would like to try to import the photos and use those as my background, to then see if it would recognize the barcode.
I am using ZXing.Net.Mobile and .Forms extension. Is there any file, or code I can implement to point to a filepath and then load that image as my background?
Thanks for any answers or suggestions.
If photos are not recognized than it must be something wrong with your code. I don't see a point to test this this way. In your application it wont work anyways. ZXing.Net.Mobile uses camera to intercept frames and decode them in real time to match qr code pattern.

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

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.

DirectShow - order of adding filters causes image to look strange with Microsoft Lifecam Studio

I'm working on a video capture application using DirectShow and have noticed certain problems. In particular, with a Microsoft LifeCam Studio camera, the following strange situation occurs:
If the order of adding the capture filters is: video capture first, then audio (camera microphone), then the image from the camera gets a strong pinkish tint - looks like a black and white image run through a color transform to make it pink.
If I swap the order of adding the filters: audio (microphone) first, then video, then the problem goes away.
I've first noticed this in my application but have since verified that the same happens in Graph-Edit.
Is there any reasonable explanation for this phenomenon?

Apply a Filter to a Camera video stream publishing to Media Server

I am Trying to Apply some information Like text and An Image as an overlay to create a overlay effect as lice a security camera with time and date on the video along with a png based Logo.
I can record VIDEO Using Flex and FMS or any other Media Server. But I want to save a modified version of the stream being uploaded.
Use camTwist (mac) or webcammax (pc) as your video input...you can use that program to use the webcam and then add whatever over it (text, date). Use Flash Media Live Encoder and select camTwist as your video source. Stream and save your recordings using that FMLE.
Sorenson Squeeze is pretty awesome for this and is cross platform. Camtwist is cool but it's not really a 'pro' app, that makes me sound way snobbish. It's actually pretty fun and a good suggestion for a simple result but I haven't found anything better than Sorenson Squeeze for the features and control it gives you.

Resources