Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
Discuss Barcode Reader Using iSight / Phone Camera at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Originally Posted by RVN84 right, in terms of software it should be fine, but what ...
  1. #11
    peu
    peu is offline
    Respected Professional Array peu's Avatar

    Join Date
    Aug 2007
    Location
    Buenos Aires Argentina (I like ribs)
    Posts
    501
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by RVN84 View Post
    right, in terms of software it should be fine, but what about the camera?
    It should work, I tried that app on a HTC Wizard 1.3mp (really crappy) camera and worked ok.


  2. #12
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    445
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    30

    Default

    Can you try to compare the camera on your wizard with the cam on the iphone?

    Try taking pics of a barcode on both, I'm worried with the capability of the iphone in taking close up pics clearly... in my trials the close-ups were too blurry to be usable...

    If you can try it that would be great!

  3. #13
    peu
    peu is offline
    Respected Professional Array peu's Avatar

    Join Date
    Aug 2007
    Location
    Buenos Aires Argentina (I like ribs)
    Posts
    501
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    I already sold the Wizard, but believe me, the iphone camera is better, both cameras aren't good for close ups, but the app I mentioned managed to read QR codes succesfully.

  4. #14
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    151
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    For anybody curious, I spent part of yesterday and today working on trying to get pixel buffers and stuff on the iPhone to try porting the barcode reader. After crashing the iPhone many many times working with CFImageRefs and stuff, I realized I wasn't even sure if the camera is good enough.

    So I lit up the room and took a picture of a nice clean barcode. Opened it up on preview on my mac, and realized that the iPhone's camera is pretty darn crappy.

    Since two and three lines can get blended into a gray blob, this isn't going to work because you can't even count the number of lines.

    QR codes may work if they're bigger and well lit because of advanced error correction. But they're also harder to decode. I took a picture of one on my monitor and it looked possible to decode.

  5. #15
    Rookie Array

    Join Date
    Jul 2007
    Posts
    26
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I made a pinhole camera with paper to try and improve the camera focus. I got this result:



    I believe this is (just barely) clear enough to scan. I have some old code for doing ISBN scanning around somewhere - I'll try and dredge it up.
    Last edited by Vaumnou; 11-25-2007 at 11:10 PM.


  6. #16
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    151
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    I gave the pinhole camera idea a shot and got a much improved picture out of it.

    The code I was looking at to do the scanning is at http://bruji.com/cocoa/barcode.html
    Just because it uses Cocoa doesn't mean it'll be easy, since their capture method is highly dependent on Quicktime capture APIs, stuff the iPhone does not have.

    I don't have as much time tomorrow, so I doubt I'll finish the translation this week, but now it seems like it's back to being a feasible project idea. Although, the project still won't work too well because you'll need a piece of paper over the lens, and the current preview framerate is like 1 frame per second. (attempts to extract from the live preview have all failed.) It's mainly just for fun, as I don't even know why a barcode scanner would be all that useful right now

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 06-16-2011, 07:19 PM
  2. MacNN: Barcode Express simplifies barcode creation
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 02-05-2011, 03:10 AM
  3. Replies: 0
    Last Post: 11-02-2010, 06:50 PM
  4. MacNN: Barcode Automater batch plugin for Barcode Producer
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 10-02-2008, 12:00 AM
  5. [ APP REQUEST ] Barcode Reader
    By johnnydrama in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 03-05-2008, 08:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:51 PM.
twitter, follow us!