ZXing Read 1D barcodes iPhone - iphone

I know that the ZXing library for iOS reads only QR codes, but is there a version or port somewhere that reads 1d barcodes as well?
I can't seem to find one that is working currently.

The ZXing port for iOS does decode more than QR codes. For example, the Data Matrix port is up to date.
The 1D code support is not strong. You can turn 1D support on (look at the ScanTest code for an example how) and it will decode many 1D codes, but not as reliably as the Java port. (Use the code in svn or the git mirror if you do this; there's been a patch to fix a crash since the last release).
There's no port of ZXing that does better than this. No one has stepped up to help keep the 1D code in as good of shape in C++ as it is in Java.
It's not clear from the question if you're open to other open source libraries that might have better 1D suport. ZBar is the primary alternative.

ZXing iphone: iPhone client + port to Objective C / C++ (QR code only)
But someone did this here
Have fun

Related

RTSP Streaming on iOS 6 with Xcode 4.6.1

I need to develop an app what is capable of receiving a RTSP Stream.
I tried to find solutions/tutorials in the internet for the whole day now, but without any success.
I read a lot about using FFMPEG or Live555 (more FFMPEG, also I read that Live555 is not necessary when using the newest version of FFMPEG), but nowhere I looked it was described in a form I could understand, when I found questions on stackoverflow the answers were really short and I could not figure out what they tried to explain.
So now I need to ask myself.
I used "Homebrew" to download and install FFMPEG, now when I look at my dir /usr/local/
I can see this, the installed files are contained in subfolders of "Cellar"
I also tried to have a look at these projects:RTSPPlay by Mooncatventures and kxmovie by kolyvan.
I did not really figure out how to work with these projects, the Documentation is indefinite and "murky".
Well, when I tried to compile these projects the kxmovie failes with errors that are like "missing avformat.h",
I added the dylibs from the usr/local/cellar/ffmpeg/1.2.1/lib to the project but it seems that this is not the right method.
Nearly the same Issue with the RTSPPlay xcodeprj, it gives back the error that an "Entitlements.plist" is missing, after removing the linkings to that file completely I am getting 99+ Apple Mach-O Linker Errors, honestly I could not understand why.
I wanted to try the Live555 too but I cant see through all these obscure and confusing files, again I could not oversee the documentation and how to build the libraries for iphoneos (I read it is the easiest way to receive RTSP Stream but it was the same stack of confusing files as the other projects had)
Maybe if someone tried with these Projects or developed an Application himself could help me with his/her SourceCode or if somebody is seeing through all the Content of FFMPEG / Homebrew made dir's he/she could maybe explain me how to use it, that would probably help me and all the other desperate developers who are searching for a solution.
Just a little edit: I am trying to receive a RTSP H.264 decoded Video Stream.
Thanks in advance, Maurice Arikoglu.
(If you need any kind of SourceCode, Links, ScreenShots etc. please let me know)
For anyone who is searching for a working RTSP Player Library have a look at Durfu's Mooncat Fork I've found online, it is working perfectly fine on iOS 8. There is a sample code included, if you struggle with the implementation I can help you.
I've examined many of those projects that you mentioned, and experienced on those well..
You can use ffmpeg libraries to make a rtsp streaming client, as ffmpeg supports rtsp protocol... But there is an important issue which I've seen in my tests that ffmpeg's rtsp protocol has some important issues when using UDP transport layer for streaming... Even with the latest version (2.01) many RTP packets are dropping during streaming so images become glitchy sometimes... If you use TCP or http transport layer, then it works well...
For live555 project, this library works well with both UDP and TCP transports when streaming rtsp streams.. But ffmpeg is so much powerful/has many capabilities than live555.
If you decide to use ffmpeg then, basically, you should follow the below steps,
make a connection - avformat_open_input
find audio/video codecs - avcodec_find_decoder
open audio/video codecs - avcodec_open2
read encoded packets from file/network stream in a loop - av_read_frame
A.
a. decode audio packets - avcodec_decode_audio4
b. fill audio buffers with audiounit/audioqueue framework
B. a. decode video packets - avcodec_decode_video2
b. convert yuv pictures to rgb pictures - sws_scale or opengles shaders
good luck...

PDF 417 Detection and Decoding

Are there any free alternatives to Zxing's PDF 417 barcode detector and decoder?
The following 2 iOS libraries cannot seem to scan these type of bar codes, even though they say it's supported:
https://github.com/zxing/zxing
https://github.com/TheLevelUp/ZXingObjC/
I've read on Zxing's SVN/Google Code page that PDF 417 decoding is in the alpha stage, which probably explains why my the barcodes I'm testing on aren't being recognized.
After a few days of research and testing, I've come across the following, effective, yet non-free solutions:
RedLaser's SDK
Manatee Works' SDK
With iOS7 or above, you don't have to rely on third-party libraries for barcode detection or decoding. AVFoundation has built-in (and hence free) support for detecting both 1D and 2D barcodes including PDF417 and QR codes using the device camera.
You can find working examples here and here.

Reading 1D barcodes using zxing for iPhone

is there a way to read 1d barcodes using zxing for iPhone? The zxing's homepage says it can only be used for QR Codes but has anyone ported 1D barcode scanning to iPhone or C++?
See Why don't 1D codes work on iOS devices? in the FAQ (which, FWIW, I wrote).
There are ports of 1D decoders but while there is lots of interest, no one has stepped up to maintain them. They're out of date with respect to the Java decoders which shows in their lower accuracy on the ZXing test set.

Questions re barcode scanning for iOS

2 questions about the open-source, zxing barcode scanner.
A) Can I customise the design of the scan overlay/viewport on the iOS? Ie: change the square/overlay/cancel button etc.
If so, how, or is there documentation?
B) Can zxing scan 1D product barcodes on iOS yet? I can't seem to find documentation on this? Otherwise what are my options for scanning both QR codes and barcodes with the iOS?
Thank you.
Martin
Yes, you can make the source code do whatever you want, as it's open source. You can certainly customize what it looks like.
Yes, most of the 1D scanning code has been ported to C++ in this project. You can enable and use it.

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