qr code detecting from small image - blackberry

I have integrate the zxing lib for qr code decoding in blackberry with OS 6.
i want to know how small image can be read the QR code any possibility to read minimum small image.I have try this that it is not working for 2.5x2.5 cm image.
The device contains the 5 MP camera.
EDITED:i have check the using the default camera looking nice but in camera open by the zxing lib is not look great.so is there any way to change the quality of camera view.
Please provide me help me.

As well as the size of the code, you also need to factor in how far away the code is from the camera and whether the camera supports macro-focus mode.
I would suggest using a larger code.

Related

Google Vision iOS Example: Scanned barcode Shape(purpleColor) shows in wrong location

I have downloaded the google vision api from https://github.com/googlesamples/ios-vision. And I tried Barcode detector example, When I try to scan a linear and 2D barcodes, the scanned area(purple shape) shows in wrong location on preview layer.
Note: This issue only occurs when I hold the device horizontally at the top of barcode.
Herewith I have attached the screenshot which reflects this issue.
Thank you!
We might need more details about how the framework you mentioned handles orientations. But 2 possible solutions I can think of are:
1) If your project only supports portrait mode, clearly specify it in the project settings. This often solves the orientation issues. (I had a similar one when using OpenCV's camera implementation)
2) If your project does support different orientations, you might have to handle orientations yourself for that specific view controller, something like this:
What is the "right" way to handle orientation changes in iOS 8?

Disable camera shaking in ios

I am creating simple camera app and I want to add 'image stability' so when hands are shaking the camera does not twitch. Is it possible to do in iOS?
You can do this by getting the raw image from the camera, and only using a subset of the raw image frame, then programmatically picking a new subset for each raw image to use for the next frame. Needless to say, this is a large amount of work and should only be undertaken if you know what you are doing or want to have the most impressive video/picture taking app.
The iPhone 6+ has this built into the hardware and is, I believe, what the previous comment link to avfoundation is talking about.

KLT Pyramid BoofCV

I am working on an Android application that will use the KLT tracking algorithm. I have downloaded the Android sample provided by BoofCV's website and I have seen the code. However, I need it to work in the background on a different thread without the camera preview while in the front it will be a user interface of some sorts.
Your help is highly appreciated.
You can make camera preview as small as 2x2 pixels effectively making it invisible while still receiving image frames in onPreviewFrame() - that's the way it's done in a BoofCV example application I've found

Capture Bar Code as image and Decode it using ZBAR

Currently i am using ZBAR reader for decoding the QR codes. It is working fine. The problem occurs when QR code is heavily populated. ZBAR takes some time to read the content and due to this delay, the camera is kept open which annoys some users. So is there any way to capture the QR code as image and store in local and decode the image of QR code from local. This will stop the camera immediately and user won't see the camera opened for a long time. Thanks in advance
You didn't say anything about platform or language, but the the answer is "yes". See these examples.

Could anyone guide me to develop with qrcode in blackberry?

I am developing my camera application that can decoded the qrcode in real time of camera on.
When I open the camera, I set the timer about every 3 seconds interval to capture picture on the screen with Display.screenshot(); method and then decoded it with zxing library while camera is on. Sometimes, it can capture the qrcode and successful decoded, but otherwise it hard to decoded the picture. I think the problem is about camera. I can not use auto focus with the camera, so the capture picture is gloomy. I want to know how to use auto focus with the camera.
My application implement on OS version 5.0 and upper version.
Could anyone help me or suggestion about new solution ?
Thank you so much
Try BBBarcodeLib available for download here: http://aliirawan-wen.blogspot.com/2011/05/barcode-scanner-for-blackberry-os-50.html.
Note that for OS6 devices you can use the built in BlackBerry barcode scanning library (built on Google ZXing).
The main problem is likely that 3 second pause. You should be decoding frames as fast as you can, which should be many times per second. This will get you a successful scan much faster.
You can and should integrate the latest zxing library instead of using that built into RIM's OS if you can, as it has small improvements that will be helpful.

Resources