Retrain OCR in LabVIEW (retrieve indexes of found characters within the character set file)

Dear all,
I am trying to retrain my OCR set file in LabVIEW. Basically I show the read string to the user and in case something is wrong the respective character must be corrected in the charatcer set file, according to the text entered by the user. It sounds quite straightforward, but I haven´t manage to figure out how to retrieve the character index in the file has to be retrained. For that I would need know which character in the set file was found to resemble a give read character. Do you know how can I retrieve this info? I intent to use the OCR Rename Character VI. 
Best regards,
Esteban
Solved!
Go to Solution.

Hello Arroyo,
you can retrieve the total number of trained characters by using the IMAQ OCR Property VI and looking for the property "Size of char set".
http://zone.ni.com/reference/en-XX/help/370281W-01/imaqvision/imaq_ocr_property/
Kind regards,
Elli

Similar Messages

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • Can I use LabVIEW program to train OCR character set?

    Hi everybody,
    I know that I can use the OCR training interface in Vision Builder AI to train the character set. But this is very inconvenient that I do this manually every time. Are there ways to do this in LabVIEW program that the character set will be trained automatically?
    Bill

    I can not answer directly but,
    Check-out Ammons Engineering. I beleive I read that Bruce developed some robust OCR code that may be useful.
    Just guessing,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Labview cannot check out a license from the VLM

    Hello,
    I have a user with Labview v7.1 Pro that was working and checking out a license from the VLM v2.0 server but for some reason now, he can not check out a license and he gets an error.  He indicates nothing has changed on his side.  Yet, when he attempts to run Labview, I do not see any activity within the lmgrd.log file.  I would think it would appear in here.
    Can someone please contact me to discuss this problem?  If activity logs or other information is needed, I can provide it at that time.
    Thank you,
    Rob Sevick
    (443) 778-7854

    More information...
    The user is connecting to the license server properly and this (below) is logged in the lmgrd.log file on the license server.  I tried adding the user to the VLM but this did not help.  I confirmed the case on both the user and computer name but still no luck.  The user indicates the message on his client when he tries to run it is (something like), "No licenses left and/or feature expired"  Any ideas?  Should he reinstall this version?  I can forward the activity log (encrypted) and/or the lmgrd.log file if you like.  Thanks,
    12:59:36 (nilm) DENIED: "LabVIEW_FDS_PKG" greendg1@VIA-Chassis2  (User/host not on INCLUDE list for feature. (-39,349:10054 ""))
    12:59:36 (nilm) DENIED: "LabVIEW_LabVIEW" greendg1@VIA-Chassis2  (User/host not on INCLUDE list for feature. (-39,349:10054 ""))
    12:59:36 (nilm) DENIED: "LabVIEW_PDS_PKG" greendg1@VIA-Chassis2  (All licenses are reserved for others. (-101,396:10054 ""))
    12:59:36 (nilm) DENIED: "LabVIEW_LabVIEW" greendg1@VIA-Chassis2  (All licenses are reserved for others. (-101,396:10054 ""))
    12:59:36 (nilm) UNSUPPORTED: "LabVIEW_LabVIEW_Debug" (PORT_AT_HOST_PLUS   ) greendg1@VIA-Chassis2  (License server system does not support this feature. (-18,327:10054 ""))

  • Unknown initial character set index '48'

    Hello,
    I have installed today the Mysql connector/j and every time I try to connect to mysql I get the following error.
    "java.sql.SQLException: Unknown initial character set index '48' received from server. Initial client character set can be forced via the 'characterEncoding' property."
    The line that produces this error is the following:
    conn = DriverManager.getConnection (url, userName, password);
    I have read some solutions from other people faced the same error as me but nothing really helped me.
    I have changed the character-set-server = latin1 and the collation-server = latin1_swedish_ci lines of win.ini several times today but no luck.
    Anyone know what should I do to manage to connect to the database?

    just in case anybody else face the same problem as I did, the solution that worked for me is to install an older version of connector/j.
    I had the problem with mysql-connector-java-5.0.4 but with mysql-connector-java-3.1.14 everything is fine and I can now connect to my db.

  • Invalid request - request handler "Index" not found

    Have deployed JatoSample.war on iPlanet web server. When I tried to access the sample app at http://myserver/JatoSample/samples.html
    it is throwing following error:
    [19/May/2003:10:29:31] warning (19890): vs(https-abeesam2)Application Error
    [19/May/2003:10:29:31] warning (19890): vs(https-abeesam2)javax.servlet.ServletException: Invalid request - request handler "Index" not found
    at com.iplanet.jato.ApplicationServletBase.onRequestHandlerNotFound(ApplicationServletBase.java:371)
    at com.iplanet.jato.ApplicationServletBase.fireRequestHandlerNotFoundEvent(ApplicationServletBase.java:114)
    at com.iplanet.jato.ApplicationServletBase.getViewBeanInstance(ApplicationServletBase.java:224)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:569)
    at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:85)
    at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:74)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
    Any help is much appreciated.
    Ashok Beesam

    For purchased copies of the Sun ONE Application Framework (JATO), please contact Sun Software Support Services. This organization can provide "break and fix" assistance.

  • NI-DAQmx support for labview could not be found

    Hi, I am pretty new to LabView. I was using VC++ to programming for my USB-6215. Just curious how LabView works, so I try to follow the "Introduction to Taking an NI-DAQmx measurement in LabView" and configure my USB-6215 in LabView. However, when I try to gererate codes for the DAQmx task name control, an error message pop up as "Error:NI-DAQmx support for labview could not be found. Please reinstall NI-DAQmx".  I did reinstall NI-DAQmx, but it doesn't help. This error occurs anyway. Any idea how it happens and the solution is highly appreciated. Thank you.
    Jingyu 

    See attached
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA
    Attachments:
    MX picture.PNG ‏35 KB

  • Scanned and OCR'd PDF--OCR content is not indexed

    I am setting up a new SharePoint 2013 install, and have put a handful files in a doc library to test search. The content has been indexed, and I can find the content inside many files and file types without issue--including "native" PDF files.
    However, it doesn't seem to index the content of a scanned and OCR'd (text with image overlay) PDF. I have verified that the text is indeed in the OCR text by copying and pasting phrases, and I also confirmed that the crawl log shows the file as successfully
    crawled. The filename is also indexed.
    So... it would seem that the SharePoint 2013 indexer does not index the text in scanned and OCR'd PDF files. Am I missing something? Can anyone else confirm this behavior?
    Thanks!
    Ryan

    To clarify:
    - From what I've read, iFilters can still be installed, but as Mikael said, they can't override the built-in file format handlers in 2013. 2013 has a built-in handler for PDFs, whereas previous versions required a PDF iFilter for indexing PDFs that have
    text content. If one could install the Adobe PDF iFilter in 2013 successfully, it would resolve the issue in this thread, but PDF iFilters don't work in 2013.
    - Aquaforest makes a product that OCRs PDF files. That takes an image-only PDF and makes the
    file searchable, but it is not an indexer. Rather, it enables an index engine to make a big
    collection of OCR'd PDF files searchable via a search engine.
    - The built-in PDF handler in 2013 does index native PDFs. It does
    not index OCR'd PDF files.
    So, that's the issue for which I submitted the ticket to Microsoft. In our case, we don't need to OCR our PDF files--they are already OCR'd. But they don't show up in searches.
    (Regarding Aquaforest... I've talked with someone there previously--for a non-SharePoint DMS--and they seem to make a cool product, but I don't have any personal experience using it.)

  • File './mysql-bin.index' not found on MySql startup on OSX 10.5

    I did a manual setup for the installation of MySql 5.5 on mac OSX 10.5 instead of using .dmg package installer. After following all the installation steps when I started the sql server with sudo mode I got the following error and the server did not start.
    /usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13) 110808 21:22:12 [ERROR] Aborting
    I cannot find ./mysql-bin.index file anywhere in my /usr/local/msql directory.
    Can anyone tell how to get around this problem? Would I be able to overcome this problem if I use dmg installer instead of manual installation?
    Thanks.

    Are you on OSX Desktop or Server? If you're on Server, what happens when you try to start the version of MySQL that was included with OSX server?
    If you're on Desktop, what happens if you install the .dmg package?
    I always like to try the packaged versions first unless there are required features that aren't in them.

  • I do not have the daq assistant vi on my labview 2010 and have found no drivers for it what should i do

    I do not have the daq assistant vi on my labview 2010 and have found no drivers for it. I downloaded the service pack but  that did not have it either what should i do.

    Hi Youzhang He, 
    Did you install LabVIEW first on your PXIe 8102 before the drivers?  Most likely, you're missing LabVIEW support for your DAQmx drivers. Fortunately, this is an easy fix. What you should do is open Add/Remove Programs, select National Instruments Software, select Uninstall/Repair. In the window that pops up listing NI software, select NI-DAQmx 9.x and select Modify. In the window that appears, expand Application Development Support and select to install LabVIEW support.  From here complete the install process and restart your system.  LabVIEW support should be installed and DAQ Assistant should appear in your palette.
    Allie

  • Labview myRIO 2013 stopped working after product activation, system vi files not found, (Hex 0x8004041F)

    Hello,
    My Labview myRIO 2013 had been working while it was in its evaluation period. Recently, I activated Labview 2013 with a 6-month activation code. Now, if I try and create the standard myRIO tutorial starting project, when it tries to load "Main.vi", it stops and says:
    Loading: 
    <vilib>:\myRio\Common\Instrument Driver Framework\myRio v1.0\myRIO v1.0 Reset FPGA.vi
    Searching:
    C:\Prog... \LabVIEW 2013\Targets\instr.lib
    and it pops up a file browser dialog box.
    I found the file in C:\Program Files (x86)\LabVIEW 2013\vi.lib\... , so I manually added that path to Labview's VI search paths, closed everything, and re-opened Main.vi .
    After doing so, I can get Main.vi to load and display properly after taking it's dear sweet time to recursively search vi.lib\* for each vi file, but if I try to run it, I get a crytic and un-googlable error message:
    NI System Configuration: (Hex 0x8004041F) The operation failed because of missing dependency items.
    It gives no further information on what dependency items are missing.
    Why did Labview work before? It had no problem finding dependency vi files before I activated the product. The "Getting Started" demo apps still work fine, reading accelerometer data and controlling the led's on the myRIO, so I know the myRIO itself is working, along with the USB connection. 
    One final note, the "Labview 2013 Real-Time Module" has not been activated. Could that be the problem?

    Hi Mike,
    That Hex error message only occured if I tried to run the VI by clicking on the little "run" button at the top left. Main.vi would open just fine, after locating all of the vi files.
    So I seemed to have fixed my particular issue (for now)... I had noticed after I typed in my activation code that Labview was telling me that I had additional evaluation time available to me. I had been ignoring those messages because, 1. I had an activation code and therefore didn't need additional evaluation time, and 2. Labview was opening and appeared to be running just fine, whereas before I applied the activation code, Labview would not even start. So, towards the end of my adventure after I felt I had applied my forehead to my keyboard a sufficient amount, I finally said "Ok whatever, give me additional evaluation time", and voila, all of my previous issues disappeared. Vi files were being found normally as before, and I was no longer getting that Hex error when I hit the run button. 
    I'm not sure exactly what components I'm getting "additional evaluation time" for, but whatever component it is, it seems to have fixed my problems.
    So anyway, thanks for the support! Hopefully this fixes my problem for good

  • I got this flashing question mark, i did some research into this and found out that the hard drive is the cause

    i recently found my ibook and decided to see if it would still turn on. it did but i got this flashing question mark, i did some research into this and found out that the hard drive is the cause. so i opened it up replaced the hard drive and closed it up, booted from the disc and crossed my fingers but it did not pick up the hard drive. i thought it might not have been installed properly, so i opened it up to check the connections to make shure they were secure and closed it back up but now it wont even boot from the disc. so dose anyone know whats wrong with it because i really don't just want throw it away if its a simple fix. please if anyone know i would greatly appreciate it.
    <Re-Titled By Host>

    There often were more than one build of Apple computer per model number designation...
    In the instance of iBook (white dualUSB) there appear to be two with number A-1007.
    And both of these were 14-inch display models.
    •iBook G3/800 14-Inch (32 VRAM - Tr) 800 MHz PowerPC 750fx (G3)
    •iBook G3/900 14-Inch (Early 2003 - Op) 900 MHz PowerPC 750fx (G3)
    •Apple iBook Specs (All iBook Technical Specs) for entire series - everymac:
    http://www.everymac.com/systems/apple/ibook/index-ibook.html
    There are a few fairly good repair guides online, some on http://iFixit.com site.
    Here's the link to the early iBook G3 series, includes color + white dualUSB.
    If your iBook is a 14-inch G3 white dualUSB model that one is there, too:
    •iBook G3 Repair guides - iFixit:
    https://www.ifixit.com/Device/iBook_G3
    Either of these may be able to run a system no later than OS X Tiger 10.4.11.
    So a system install disc set could be used to troubleshoot, install, restore &
    prepare a replacement hard drive for a new system.
    Not certain what the issues are behind your situation, there may be more than
    meets the eye. Some models of iBook were more prone to hardware problems
    and as they age, fewer opportunities to affordably repair them exist.
    Good luck in resolving the iBook G3 issues...!

  • Keynote (6.2) file won't open. Can I make a new Index.zip file using some of the extracted .iwa files?

    Keynote (6.2) file won't open (hung and crashed during auto-OS update).  Trying to salvage everything possible.  I know about grabbing the pictures from Data folder, but is there a way to extract the good .iwa files and make a new Index.zip? 
    Tried extracting, capturing uncorrupted .iwa and deleting corrupted ones, but can't figure out how to re-compress to readable format for Keynote.  Seems silly that I can't ge the new .zip file to work.  There has to be some sort of manual work-around, yeah?
    Thanks.

    This problem has been reported to the AppleWorks team, but I doubt that we will ever hear if there is a fix. AppleWorks 6 is now nearly 6 years old & hasn't even had an update since March, 2004.
    Nothing has been found to be able to make AppleWorks 6.2.9 open the problem files. I've had it happen & not happen with all AppleWorks file types. These files can be opened by any other version of AppleWorks 6, including the OS 8/9 component 6.2.8. If you have the retail version of AppleWorks & have Classic installed, you can "Force" AppleWorks 6 to open in Classic to open the files, save them as AW 6 files & then open them in the OS X version. You do want to make sure you don't have both the Classic & OS X versions of AppleWorks 6 running at the same time. I find it much easier to use AppleWorks 5 in Classic to open & save the files. AppleWorks 6.2.9 has no problem opening AppleWorks 5 files.
    Peggy

  • How to get index of an item in the DropDownByKey control?

    Hi,
    I'm new to PDK for .NET and I have a simple question about the "IndexOf" method of the items collection.
    Attached a small test program:
    Dim li As New DropDownListItem
    li.Key = "A"
    li.Text = "Zero"
    DropDownByKey1.Items.Add(li)
    li = New DropDownListItem
    li.Key = "B"
    li.Text = "One"
    DropDownByKey1.Items.Add(li)
    li = New DropDownListItem
    li.Key = "C"
    li.Text = "Two"
    DropDownByKey1.Items.Add(li)
    li = New DropDownListItem
    li.Key = "D"
    li.Text = "Three"
    DropDownByKey1.Items.Add(li)
    li = New DropDownListItem
    li.Key = "E"
    li.Text = "Four"
    DropDownByKey1.Items.Add(li)
    Dim liForSearch As New DropDownListItem
    liForSearch.Key = "C"
    liForSearch.Text= "Two"
    Write(" Index --> " & DropDownByKey1.Items.IndexOf(liForSearch))
    The output should be 2 but instead I get -1 (Not Found).
    Why?
    thanks,
    Omri

    Hi,
    Since you have the Key of the listItem you are looking for you should get the item by applying:
    liToSearch = DropDownListItem.Items[key];
    int index = DropDownListItem.Items.IndexOf(liToSearch);
    Regards,
    Tsachi

  • Hacking into the form values file to retrieve a post after closing a window

    Okay, I'd just finished editing and re-editing a very long post and was doublechecking some of the links when I inadvertedly closed the entire window instead of merely closing the tabbed page I'd brought the new link up on to test it.
    I poked around and found a long binary file called "Form Values" in library/safari directory and I would just bet this has my full post in it. I copied it to the desktop because I had a feeling that if I opened another form with Safari, the info would be rewritten and lost forever. So I do have a safety copy now.
    Anyone have any idea at all how I could retrieve that information, and convert it from binary back into text form so I would not have to spend another two hours remembering and rewriting the post?
    Or a way of getting Safari to recognize it and read it into a new post form?
    Boy, recovering data with a menu item like "undo close window" or a reopen sure would be a nice feature... I bet I'm not the only person that's done this.
    THANKS!!

    I just downloaded Hex Editor and gave myself a trip down memory lane (hadn't used one of these editors since my DOS days). Anyway, as I expected, it looks like the Form Values file is encrypted - there are no recognizable text strings to extract. In any case, this file contains the data you used to fill out forms at particular sites, it does not carry the entire page or form.
    You could try Retrospective to see if you can find the page with the form in Safari's cache. If you do find it, the form could be filled out as when you closed the window or it could be blank as when it was last loaded into Safari - I don't know which because I haven't searched the cache with this puspose in mind before.

Maybe you are looking for

  • Java.lang.NullPointerException in sun code with latest JRE (1.6.0_02)

    We upgraded to the latest JRE and when we go to our website which has an unsigned applet and I answer Yes to trust it, the applet never runs. I turned on debugging in the java console and see this after the certificate negotiation stuff is sent bck a

  • Fonts for Pages

    My wife is wondering if there is any more fonts, Windows type, for "Pages"? She is only using 67 Windows True-Type. She's worried about compatibility in e-mails, attachments, with our friends who are all Windows/PC users.

  • Where is 1.9 bios for KT4V ?

    Should be available whats up ? ?(

  • System Status & User Status

    PS Experts In Projects we do have System status and User status. I am using a report “RBSVCDOC” to grab the SYSTUM status changes ie.. I know when the status was set from CRE to REL etc..  But is there any report or a WAY where I can get the USER STA

  • Can i buy previous model imacs from the apple store?

    if i wanted to buy the last imac model shipped with snow leopard (for software compatibility reasons), where can i do that? is it available in the online store? years ago, i remember seeing old model imac/products sold there. i don't mean the pre own