BlackBerry barcode scanning library? - blackberry

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.

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.

zxing focus on 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.

iOS Augmented Reality Framework and some guidance

I have done some iOS development before never quite something that handled the Camera (which is what I think I need to do) Could you point me in the right direction?
What I was requested to do is basically to have a QR code reader that can display certain information (images/video/text) and then take it further up a notch by adding augmented reality (not necessarily using said QR codes but within the same app).
I've looked for some Augmented reality frameworks for iOS and I found SimpleGeo https://github.com/simplegeo/SGAREnvironment but it's more of a location-based AR framework. Any others? Or should I not even include the QR reader and do everything with the AR framework?
A few hints:
OpenCV
OpenCV iOS port
ZXing - Code bar generator (support for QR)
LibDecodeQR (uses OpenCV)

Anyone ever tried to develop in C or C++ for Blackberry platforms?

Every indication I have, based on my experience in embedded computing is that doing something like this would require expensive equipment to get access to the platform (ICE debuggers, JTAG probes, I2C programmers, etc, etc), but I've always wondered if some ambitious hacker out there has found a way to load native code on a Blackberry device. Anyone?
Edit: I'm aware of the published SDK and it's attendant restrictions. I'm curious if anyone has attempted to get around them, and if so, how far they got.
I've seen this question pop up in a number of different forums over time. The original Blackberries were programmable in C++ but I think that RIM ran up against the problems of trying to implement a secure platform in the C/C++ compile to native paradigm.
The devices do have JTAG ports, but unless one could get hands on the RIM code as a place to start the problem is enormous.
I also have to wonder how useful a Blackberry with a replacement FOSS operating system would be, since it would not likely have the protocols to connect to BES or BIS, send PIN's etc. If one was simply looking for a the power of the hand held computing platform I suspect there are many more likely candidates available.
No, C++ is no longer a supported RIM development tool, as they phased it out a number of years ago. Client applications can be developed in Java (or one of a few 5GL frameworks), and web + sever-side apps can be developed using standard tools.
For those looking for updated information, the new Playbook os, also known as QNX, also known as Blackberry 10 (or it will be when the phones running it come out) is in fact c/c++ based, also using QML and a C++ add on called Cascades.
Unfortunately the official SDK website only seems to mention Java. According to wikipedia, different versions of the BlackBerry use different processors. Combined with the fact that RIM uses a proprietary operating system for the devices, it becomes pretty difficult to develop native code without official tools. There is also a partial API-level security restriction which would further prohibit advanced tinkering.
Just randomly searching for an answer to this and came across http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Native-C-C-SDK/td-p/778009 which mentions that BB intend to release a C/C++ SDK soon, more details will be provided at the 2011 Game Developer Conference.

Resources