Detect barcode automatically

Hello All,
Started a new project for my company.
1.    I have a code 39 type barcode which i had generated using labview.  (done with the help of forums)
2.    I have to print this image to the printer. (not done)
3.    Using Camera(usb) I want to scan the barcode-Here I want the labview to automatically detect the ROI of the barcode and display the code in the string indicator.
Please help me complete this project.
Here i attach the first part of this project.
Srikanth Chilivery,
Attachments:
code 39.zip ‏479 KB

What sort of background do you expect the barcode to be placed on?
If the patterns outside the barcode is not striped, or checkered, you can use the edge finder to determine an area in the image where the image have a lot of parallel white/black transitions
The result is alot of infinitle lines, that gives you approximately where the edges of the barcode is (width) and angle.
and if you then sample some of those lines you should be able to find the height., and tada a ROI rectangle + angle.
then for robustness increase the the size of that rectangle, and voila, a barcode finder tool is created.
Engineer, M.Sc. Autonomous Systems, Automation and Control of non-linear systems
Project Engineer @ R&D A/S
www.rdas.dk

Similar Messages

  • Cannot Change LAN Settings to automatically detect from automatic script

    my computer wont allow me to uncheck the automatic script option which is causing be bother. whenever i unched the box as soon as i close the tab it enables it again. this is causing the error message "error 130". if anyone could help it would
    be great

    Hi,
    I consider if the uncheck behavior encounter the access denied error.
    I suggest you use Process monitor to capture the events during repro'ing the issue:
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Solving Access Denied Errors Using Process Monitor
    http://improve.dk/solving-access-denied-errors-using-process-monitor/
    How to use, please refer to this article:
    Using Process Monitor to capture system events
    http://www.sophos.com/en-us/support/knowledgebase/119038.aspx
    You can also upload the PML log saved from process monitor here for our research.
    Kate Li
    TechNet Community Support

  • How to detect/mark automatic hyphens in a text?

    To visually control the quantity of hyphenated words in a page, seems appropriated to mark them ( like using some script, similar to that created by H. Jong, where beautifully all hyphenated words are coloured with a red ink?)
    The markup to identify them, as the tilde ^~ does not capture them?

    I am [almost] sure Jong's script does that...
    Also Indiscript has a similar one to mark hyphenated words, including location!
    Thank you.
    Jong:
    try {
    app.activeDocument.colors.add({name:"Warning", space:ColorSpace.RGB, colorValue:[255,0,0]});
    } catch(_) { }
    warningColor = app.activeDocument.swatches.item("Warning");
    t = app.selection[0].parentStory.textContainers;
    p = 0;
    err = 0;
    while (p < t.length)
    if (t[p].lines.length)
      if (t[p].lines[0].words.length && t[p].lines[0].words[-1].lines.length > 1)
       t[p].lines[0].fillColor = "Warning", err++;
      if (t[p].lines[-1].words.length && t[p].lines[-1].words[-1].lines.length > 1)
       t[p].lines[-1].fillColor = "Warning", err++;
    p++;
    alert ("Done, marked "+err+" occurrences");

  • Detect infoprovider automatically in query

    HelloGurus.
    I have a query on a Multiprovider that joins 2 infoCubes. These are very similar but one of them is part of a new model and has information after June 2008.
    My question is: How can my query select the 0infoprovider depending on the date.
    For ex. sales of March 2008 --> show information of old infoprovider
    sales of June 2008 --> show information of new infoprovider.
    The two models will exist until December 2008, then the old model will be deleted.
    Thanks

    Hello,
    Please follow the steps to achieve this
    1. Create a z table (ex: ZVARTAB) with Query ID, InfoObject, Variable name, variable value with table maintance option.
    2. Enter the Query ID, InfoObject Name and the variable name and value and date range (mm/yyyy)
    Example
    QRY01   0INFOPROVIDER  ZPROV   ZCUBE1 062008
    QRY01   0INFOPROVIDER  ZPROV   ZCUBE2 072008
    QRY01   0INFOPROVIDER  ZPROV   ZODS1   072008
    3. Create a User exit variable zprov (give as per your req) in the query designer and assign to 0INFOPROVIDER
    4. In CMOD enter the following code
    tables: ZVARTAB.
      when 'datevar'.  'this is your date variable
        if i_step = 2.  ' After the user input
    loop at i_t_var_range into loc_var_range.
    if loc_var_range-low = 'June2008' . 'change as per your req
          select * from ZVARTAB
              where queryid    = 'your query name'
                and infoobj       = '0INFOPROVIDER'
                and daterange =  loc_var_range-low.
            l_s_range-low  = zvartab-varvalue.
            l_s_range-high = ''.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            append l_s_range to e_t_range.
          endselect.
    else.
    select * from ZVARTAB
              where queryid    = 'your query name'
                and infoobj       = '0INFOPROVIDER'
                and daterange  >  loc_var_range-low.
            l_s_range-low  = zvartab-varvalue.
            l_s_range-high = ''.
            l_s_range-sign = 'I'.
            l_s_range-opt  = 'EQ'.
            append l_s_range to e_t_range.
          endselect.
    endif. ' for date checking if stmt
    exit
    endloop.
    endif.  ' for I_STEP
    The table is needed since you may have multiple InfoProviders in the Multiprovider so it can be strored in that table which can be accessed during the user exit.
    Similarly you may have multiple queries in the Multiprovider so that can be easily managed by adding new entries in the ztable.
    Thanks
    Chandran

  • Automatic time zone detection

    Hello, I'm having a problem detecting automatic time zone on a macbook air. If i set location detection on automatic it detects it in Moskow- Russia and it's about 900 kilometers from my current location (Toila-Estonia). It's i big problem, because new feature on iCloud that can show current location of mac shows my posision in Moskow. Any suggestions why it's so ?
    Sorry for my bad English.
    Aleksandr

    This is happening to both my spouse (TURBO 32GB) and I (TURBO 64GB). The first time she noticed was three days ago. Her phone was correct at home (Pacific time zone), but when she got to Seatac airport, her phone was in Alaska time zone. Yesterday, I went downtown and my phone's time went back an hour and the time zone was set to Alaska. At home, it is correctly set to Pacific with correct time. It is correct right now, but her's is wrong right now (she's downtown). Seems like something wrong in the information the phone is receiving off the network, but could it be the phones? This wasn't happening a week ago. Thanks for any thoughts.

  • Add barcode in the item master data

    Hi All
    we have a field in the item master data called Bar Code.  if you have several hundred thousand items in the database how do you assign a barcode for each item?  do you enter the barcode manually for each item or is there any other way to enter this item's barcode automatically when the item is added into ware house?  if you have enter manually the barcode how we should follow with the number of characters in the field? is that should look like exactly on the barcode label when you print? or we need to follow our own naming convention in using the numbers?
    thanks
    Santhosh

    Check this Thread
    [Barcode scanner addon;

  • Automatic language switch [Angry poster]

    I've just finished my Spanish homework in my 2013 Microsoft Word, and it wasn't pleasant. I study Biochemistry along with English, Spanish, German and my native language. What gets me worked up and really has me table-flipping angry, is that every time I
    hit 'enter', the language flips over to Danish.
    This means I have to stare at daunting red lines in every sentence, SELECT
    it when I'm done, and flip it over to Spanish again, writing in Spanish is worst, because of the way sentences using question/exclamation marks are written, it can't function without the Word dictionary co-operating. Word nowadays has no limits to
    how helpful it thinks it is, so of course it'll do these small changes here and there. 
    Now of course I've read up on it, and reached some kind of solution, which is changing my keyboard to whichever language I'm using. You might argue that this is the way things are most convenient for others, but I'm not asking for much here. I'm asking for
    Word to NOT change the language every time I hit enter, and that shouldn't mean having to learn where all the necessary symbols are,
    for every language I speak. I have no idea who came up with this idea or concept, but it's the stupidest and most crippling mistake in any software I've ever purchased. I have no idea how it's supposed to work for international students such
    as myself. 
    So what I'm looking for is a way to select the language in a Word document, and have it stay that way, until I change it. I'd love it if Word could figure out that I'm trying to switch languages after 3 or 4 words, and back again if I was citing, but I know
    what to expect. I'm already pissed as it is with these blue lines telling me that English can only be written one way. Let's see how big an explosion comes from the red lines turning on me as well.

    I'm not quite sure if I have understood you correctly. What do you mean by "select the language in word", do you mean the proofing language?
    If yes, I would suggest you clear the "Detect language automatically" option, in the Language dialog box (Review tab>Language>Set Proofing Language). This will help to prevent Word from changing
    the language.
    Hope this is what you want.

  • Flash version detection question

    I understand how to set the Flash player version when I
    publish my Flash movie. But what is not clear in the book I'm
    studying is when I upload the .swf file in my html page
    (index.html) to my server, do I need to upload the html version of
    my Flash file (when I published)? Or do the version detection
    settings automatically get stored in the swf? In other words, if I
    have 2 files -- movie.swf (which is in my index.html page) &
    movie.html (which was published in Flash as well), do both need to
    be uploaded? Or will the .swf file in my index.html page pickup the
    visitors Flash version?
    Thanks in advance!
    Bernie C

    The detection scripts are in the HTML (and probably an
    external JS file). You don't HAVE to use the HTML file generated by
    Flash, but you probably want to take a look at it and move some of
    the code over to your index.html page. Don't forget to upload the
    JS file if one is called as well.
    Hope that helps!

  • Detecting character encoding?

    I'm running into a problem with Safari (I've got Safari 4 beta installed, but I think this was a problem with 3 as well) where it won't automatically detect character encodings. These are sites in Japanese which load and display correctly in Firefox 2, but in Safari they come up as gibberish. When I select Shift JIS they show correctly in Safari. Other pages come up as expected. I must emphasise this: the pages show correctly in Firefox 2 without having to do anything, but in Safari 4 they come up incorrectly and I must change the encoding manually.
    The pages in question are here: http://genki.japantimes.co.jp/self/kanji.en.html
    Is there some way to force Safari to display these pages correctly without having to manually select the correct encoding from the Character Encoding menu? Have I missed an option somewhere?

    The pages in question are here: http://genki.japantimes.co.jp/self/kanji.en.html
    The authors of these pages have failed to put in the html code required by international standards so that browsers will know the text is in Japanese. You should ask them to do this -- leaving it out does not make them look very smart.
    While FireFox has a system which can sometimes detect encodings automatically, Safari does not. When a page lacks the required html code, it will use the default encoding set in its preferences/appearance. So if you set that to Shift JIS, these pages should come up correctly. This could make other pages which lack the correct html display incorrectly, but they should be very rare these days.

  • Sakis3g stopped detecting the modem after a fresh install

    hello
    i used sakis3g on the net install iso, it worked flawlessly, auto detected everything
    now after installing the core system, installing 'usbutils' and 'dialog' to get the interface, it just doesn't detect my usb modem from huawei. sakis3g doesn't detect anything (and in the usb modem submenu it shows many entries with file/ missing)
    from messages.log it seems that there is no problem detyecting the modem
    Jul 11 02:17:38 (none) kernel: [  259.843836] usb 1-4: new high-speed USB device number 4 using ehci_hcd
    Jul 11 02:17:39 (none) kernel: [  259.972430] scsi10 : usb-storage 1-4:1.0
    Jul 11 02:17:39 (none) kernel: [  259.972841] scsi11 : usb-storage 1-4:1.1
    Jul 11 02:17:40 (none) kernel: [  260.975256] scsi 11:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
    Jul 11 02:17:40 (none) kernel: [  260.975379] scsi 10:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
    Jul 11 02:17:40 (none) kernel: [  260.979465] sr1: scsi-1 drive
    Jul 11 02:17:40 (none) kernel: [  260.981716] sd 11:0:0:0: [sdc] Attached SCSI removable disk
    any clue what could be wrong ?
    if in the installation iso it worked fine, what package is missing then ?
    cheers

    thank you strike0, i intalled usb_modeswitch, and in messages.log we got :
    Jul 16 02:28:23 (none) kernel: [  309.203493] usb 1-3: new high-speed USB device number 9 using ehci_hcd
    Jul 16 02:28:23 (none) kernel: [  309.332163] scsi21 : usb-storage 1-3:1.0
    Jul 16 02:28:23 (none) kernel: [  309.332609] scsi22 : usb-storage 1-3:1.1
    Jul 16 02:28:24 (none) usb_modeswitch: switching device 12d1:1446 on 001/009
    Jul 16 02:28:24 (none) kernel: [  310.247567] usb 1-3: USB disconnect, device number 9
    Jul 16 02:28:29 (none) kernel: [  315.056820] usb 1-3: new high-speed USB device number 10 using ehci_hcd
    Jul 16 02:28:29 (none) kernel: [  315.185899] option 1-3:1.0: GSM modem (1-port) converter detected
    Jul 16 02:28:29 (none) kernel: [  315.186133] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
    Jul 16 02:28:29 (none) kernel: [  315.186453] option 1-3:1.1: GSM modem (1-port) converter detected
    Jul 16 02:28:29 (none) kernel: [  315.186610] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB1
    Jul 16 02:28:29 (none) kernel: [  315.187546] scsi25 : usb-storage 1-3:1.2
    Jul 16 02:28:29 (none) logger: usb_modeswitch: switched to 12d1:141b on 001/010
    Jul 16 02:28:30 (none) kernel: [  316.191766] scsi 25:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
    Jul 16 02:28:30 (none) kernel: [  316.194969] sd 25:0:0:0: [sdc] Attached SCSI removable disk
    seems it's fine, however, sakis still fails to detect it automatically, but it does its job fine when i specify that the tty the modem is linked to is [ttyUSB0]
    so, what precisely is the difference between  a [minimal] live arch environment and a fresh [minimal] install? what could possibly explain this difference?
    cheers

  • CFP-2210 not detected in NI MAX

    I just got one fresh unit of cFP-2210 controller, when the ethernet port connects to same network with my PC, the NI MAX in my PC cannot detect the cFP.
    Any advice on this scenario ?
    Thanks

    MCOTO wrote:
    Hello,
    You just need to add the SCXI chassis manually. Please refer to Step 11 from the link below.
    http://www.ni.com/pdf/manuals/373236m.pdf
    Regards,
    MCOTO
    I was under the impression that NI-MAX should detect it automatically.
    But I did follow the directions to add the SCXI chassis manually.
    Yet there is a redX next to the icon and none of the modules are detected.

  • Display Auto detection does not work any more

    I changed my hard drive and did a clean instal of leopard. After that my external display which is connected to the macbook pro no longer detects it automatically. I always have to press on "detect displays" in order for the computer to see it.
    I have reset pram and smc.
    IS there something I can do?

    What was the state of the TV? In other words was it on or off? Was it set to the correct input? And in what order did all these things occur in combination with putting the lid down on the Mac?
    There is a lot more experimenting for you to try. You may yet find a working combination or order in which to do things that will make everything work how you want.

  • My ProBook Is Unable To Detect It's Serial and Model Number

     As you can see in the picture, There are some dots instead of the product name. When I bought my PC I was able to find the model and product serial. My HP Support Assistant was also able to detect them automatically, but since some days I see these dots, I don't know why this happened. No auto detect app can now detect my PC model and Serial. Is there any way to fix it? My warranty period is over and the service center is far away from here, so if possible give me a solution that I myself can give a try! P.S. I Have A Good Idea About PCs, So Even If The Solutions Difficulty Level Is Advanced Please Do Share! Thanks In Advance

    Yes, It's missing, and I guess the data is deleted from the whole system somehow

  • Is iphone 4 having issues with Blue tooth?. I have checked four iphone brand new sets from different location. Not detecting other devices

    Is iphone 4 Having issues with Blue Tooth connectivity ? Last saturday i have bought up iphone 4,  when i checked that device blue tooth was not detecting the other iphones. I went to apple store in Ottawa. They checked with their Mac computers. They said Yes this iphone is having problem. Please exchange it on the store you bought up.  I have exchanged that iphone with brand new, again same issues...
    iPhone is not detecting other devices with Blue Tooth.  I have checked with other two. they having same problem.
    Please tell me, What apple gonna do with my iphone now ?  Should i keep it ? or cancel my contract with cell phone company.  As i am sure they not going to replace it again or gonna make excuses.
    Waiting for replies [email protected]

    I have upgraded my iphone 3 to a 4. I just recently discovered that while the iphone 3 automatically discovers bluetooth but the iphone 4 does not (couldn't discover any bluetooth). My bluetooth is Jabra SP200. It turned out, there are other steps to take with the bluetooth device to pair with the iphone 4. As stated, iphone 3 detected it automatically. But w the iphone 4, I had to press and hold the answer button of the Jabra for it to pair with iphone 4. Call the bluetooth manufacturer directly and check with their alternative pairing procedures.
    Hope this helps.

  • Nested IPE (In Place Element) usage when accessing Cluster/Array data via DVR

    I am sharing data across several VIs and loops via a DVR, and accessing the data via a DVR IPE. The data is a cluster of arrays. The diagram below (VI attached) illustrates the structures invloved, but not the structure of the application.
    (The diagram above does not include initialization of the arrays, as it is intended only to illustrate the Cluster1 data type. Array lengths could be 100.)
    The DVR (DVR1) is passed to multiple VIs of the application at startup.
    Each VI executes loops that either read or write particular elements of each array (fArray1 or fArray2).
    I believe the DVR IPE (B1-DVR) provides blocking so that only one task can modify the data (Cluster1) at any time.
    Case 1 illustrates how I currently WRITE to array elements. The outer IPE (block B1) is rolled into a VI (not shown) that takes DVR1, Index, and Value as inputs.
    Cases 2 - 4 illustrate 3 additional methods that remove one or both of the inner IPEs (B2-Cluster and B3-Array).
    Case 2: IPE B3 (Array Index/Replace Elements) is replaced with a non-IPE 'Replace Array Subset'.'
    Case 3: IPE B2 (Unbundle / Bundle Elemnts)' is replaced with a non-IPE cluster 'Unbundle'/'Bundle'.
    Case 4: removes both B2 and B3.
    I implemented case 1 a long time ago.  When I had to do the same thing again recently, I did case 4.  When I stumbled across my earlier implementation, I was a bit suprised
    Which of the 4 cases should take the least time (or resources) to execute? I think case 4 has as few array allocations as any of the other 3.
    The attached image did not capture the Buffer Allocation marks, so I marked the ones that differed with a red "B".
    I am only interested in differences in how the arrays are handled, so I see no signioficant differences.
    Is this one of those cases where LV doesn't need my help?
    Incidently, I recently wrote a small app with shared data and decided to try FGVs to share array data.  For small arrays, 10^7 iterations, and an FGV based array-element read followed by a element write, the FGV was faster.  1.2us per read/write for FGV vs 3us per r/w for an DVR/IPE based read/write (like above).
    Peter
    LV 2011 SP1, Windows 7 64-Bit
    Attachments:
    IPE.vi ‏9 KB

    Option 1 is a definite no and as far as I know it has been NI's explicit intention to steer clear from it. I believe there's an idea in the IE which asks for this.
    I agree that option 2 makes sense, but I don't think it should be something the user specifies. Either LV can detect it automatically or it can't, but I doubt NI would let you have an option which creates the possibility for this kind of bug.
    I'm not sure, but the mark as modifier option on the IPES might be the option you're looking for. I know that it exists and I know very roughly what it does, but the documentation for it is very limited and I never actually played around with it, as usually I don't need these kinds of optimizations.
    You may well be right that a new option on the IPES is desirable and you should probably add it to the idea exchange.
    As for NIWeek, I'm not going this year, so I have no idea what kinds of sessions are around, but it's a great place to find people who know what they're talking about and ask them about it directly. Certain people in LV R&D would probably be ideal for this and if you ask relevant people, you might even get their names. I'm sure buying them a beer would also help to loosen their tounges. If you ask me, this type of interaction is the main value of the conference, not the sessions themselves.
    Try to take over the world!

Maybe you are looking for