Display YUV/RGBA data native code in ios - iphone

I have a decoder ported to iOS. The decoder is written in normal C language. In android we have some API through which we can render the decoded frames(will be in YUV, if required can be converted to RGBA).
Is there a similar functionality in iOS in which we can render the decoded data from the C code itself(not from the objective c part of the code).
I tried googling but found ways to render data only from the objective side of the code and did'nt find a way to do it from the native side of the code.
Please suggest a way to do so. A link to some similar example will be very helpful.
Thanks in advance.

Related

Objective-C : is it possible to detect QR code data type?

I did qr code with Zxing, Right now I can read data but what I want is :
Example: Be able read type of QR Code is wifi, VCard, Calendar, url, etc...
if detect QR Code is wifi so I be able code to change wifi setting key,
So, how do i know that data read from QR code is wifi?
QR Code itself does not specify any types. Its plain text. It can be an HTTP URL or a custom URL. (e.g. it should have "type://wifi" inside it. You can then use it to see what the type is). But off-the-shelf, there is no such thing. You have to know who is creating the QR Codes and what is he storing in them.
There is no standard format for encoding wi-fi information in a QR code. There is a de facto standard suggested by zxing and supported by Barcode Scanner, which is like:
WIFI:T:WPA;S:mynetwork;P:mypass;;
(This imitates many of DoCoMo's standards for QR code contents.) I'd just reuse this if you can.
This page lists common encodings for other data. Whether you can do anything with them on the iPhone, I don't know. On Android you can scan these to configure Wi-fi and add contacts.
Here is a nice document of different QR code types. None of them are standard, but you get the idea: https://github.com/zxing/zxing/wiki/Barcode-Contents
There is platform specific format for Android.
WIFI:T:WPA;S:mynetwork;P:mypass;;
Though, if there is no API for setting the WIFI settings on iOS, any format doesn't help much :/

iPhone QRCode Generator n Decoder

I have to create an app in iPhone which can generate QRCode for Text,Mail,Map,Photos etc. And can also Decode the QRCode. Has anyboday have idea about its API or example?
Thanks in advance
I usually use QR Code Encoder for QR generation and ZBar for decoding QR (It also works with other code standards)
They are very easy to use.

How to read standard barcodes (EAN) with zxing? iOS

Hi folks just a quick question, how do I read non-QR codes with zxing? I am setting the ZXingWidgetController to 1D mode, and am using a MultiFormatUPCEANReader however the barcodes just won't scan. Any suggestions?
However, someone did it: https://github.com/TheLevelUp/ZXingObjC
According to their site, only QR was ported to iPhone.
http://code.google.com/p/zxing/
iphone: iPhone client + port to Objective C / C++ (QR code only)
As Lou says, zxing only support QR codes on iPhone.
A better bet is to use the alternative library ZBar, which supports EAN/UPC and is available here:
http://zbar.sourceforge.net/iphone/index.html

Android/iPhone Image parsing

I wanted to write an Android and/or an iPhone app that entails taking a picture of something (right now, I just want to limit to text) after which the app parses the text to make use of it. For example, perhaps taking picture of a sentence (or may be just fragments) will be then parsed by the app to bring up more information about the book. Title, author, ISBN etc. And even may be information about other books that are similar in content to this book.
Is this possible to do something like this? Is there an API that exists already that parses the content of an image? How is an image stored in Android and iPhone? Is it possible to implement the app in one platform and not the other?
I'd appreciate any input or advice that you guys have to offer. Thank you!
You're looking for this, possibly.
It's called OCR, or Optical Character Recognition.
Also check out ZXing a great library for decoding one- and two-dimensional barcodes. There are both iPhone and Android versions.

Objective C image processing

I've googled around for this however the only thing i've properly come across is the simple-image-processing library on Google Code, however i think the project is dead! Does anyone know of any libraries/frameworks, even tutorials on image-processing for iPhone apps?
Apple has some sample code here that shows how to do some simple image processing like saturation and hue adjustments.