zxing focus on iOS - ios

I might be missing something here but it seems that zxing does not support auto-focus. Having done some searches here and on Google I haven't found anything that gives any insight.
E.g. on my iPhone 4 using the sample ScanTest app many of the QR codes are blurry and tricky for the app to recognise.
So, to be a bit more specific:
Does zxing support auto-focus on the iPhone and, if so, how do you implement it?

Hmm ... the camera autofocuses on its own on hardware that is not fixed-focus, unless told to do otherwise, I believe. I think it's possible to do a tap-to-focus thing but zxing doesn't do that.

Related

Facial recognition iOS

I have to build an app to recognize person on photo and find if this person is stored in phone book. I made face detection, I know how to take photos from people stored in phone book but I stuck on recognizing if the person is the same..
I want to ask what would be the easiest way to do it - i saw that iOS 10 comes with facial recognition in Photos app - is there any API to use facial recognition in iOS 10?
or should I use Open CV?
Face detection can be performed natively, as you've already found out, but to identify the faces you'll have to use something like OpenCV as there's no API available to do this presently
There's some information about how OpenCV can be used to recognise faces here.
Information about how to use it with Xcode here.
I built something similar some years ago.
I would suggest you look into perceptual hashing as it's an easy and inexpensive way of matching images.
You can have a look at the documentation, but this way your app will work only on iOS 10 and future versions.
If you plan to support older iOS versions or make also an Android app go for OpenCV

iOS Fastest QR code reading method?

i need some advice about developing app using QR code scanner's libraries on iOS.
I am already bit familiar with iOS7 AVFoundation framework, Zbar and Zxing.
My goal is to use method that can scan QR code in the shortest time possible.
I am thankful for any experience shared or tips how to improve the scanner performace.
Have you checked out CDZQRScanningViewController which uses iOS7 only API - is this what you are looking for?
Have you noticed a performance issue with the other libraries? maybe you could elaborate on the issue you are having.

Testing/Demoing UIMotionEffects in the simulator or on the device

I'm trying to build some educational content for iOS and would like to show how the new UIMotionEffect stuff works in practice. Currently there does not seem to be a way to do any UIMotionEffect stuff in the simulator, which makes sense. But even when trying to do Airplay or HDMI out means that UIMotionEffect's get turned off. As a last resort I can of course just capture the live screen of a device with another camera, but I'd still prefer to do something like the demo from WWDC, although I'm sure they were using some special setting or something. If anyone has any ideas and/or suggestions, that'd be great, thanks!
The only way I've been able to figure out how to do this is through the use of a capture card. The Blackmagic Thunderbolt Shuttle is finicky but when it works it works really well.
Better late than never...but I found this clever solution on GitHub by toco.
https://gist.github.com/toco/6727120
Just add the h. and m. files to your project. I've tested on AirServer on my Mac and it works great.

Using iOS SDK in Flash CS5

I want to write an iOS app in Flash. Can I use iOS SDK features? I mean, for example, I want to have some list of elements in my app (like the one in the music app). Will I have to write all the classes by myself, or maybe I could use the SDK?
Not sure if I'm making it clear. Thanks in advance.
Yes, you are making it clear. But this is not possible. If you want to use ObjectiveC/iOS library components then create a pure iPhone app using xCode on the mac.
Anyway, you may find similar flex/flash controls that may replicate the look and feel of the iOS control. Google is the limit.. ;) Good luck!

BlackBerry barcode scanning library?

Anyone got a good handle on a barcode scanning library that can be used to read in UPC-A, EAN-13 or other major barcode formats based on input from the digital camera? Does RIM have a standard library already available for this?
I know that BlackBerry Messenger has 2D barcode scanning built-in so I'm guessing there must be something available, though not sure if it's proprietary or not.
Update: I'll go with the zxing library for now and see how that pans out since there aren't any official RIM libraries yet. I'll keep digging and update this question if I find anything else that's better in the meantime.
You can take a look at zxing lib, there are samples for BB.
Other are huayu_sdk and jjil.
RIM has not exposed any public APIs to assist with barcode scanning, even in the latest 5.0 APIs.

Resources