Identify character from a jpeg file Using OCR

Hai all...
is there any way to identify characters from a jpg file using OCR related technologies..
i want to identify if thr any data in a page .the page is a jpg image contain lines.
is there any way plz help me..
very urgent..

Hai all...
is there any way to identify characters from a jpg
file using OCR related technologies..Yes
i want to identify if thr any data in a page .the
page is a jpg image contain lines.
is there any way plz help me..Get an Image Processing / OCR book for Java

Similar Messages

  • Hello.  May I ask:  I am using Acrobat 6.0.2, and having trouble formatting a PDF created from multiple (jpeg) files.  Each page is formatted to A4 size, portrait.  But when I create the PDF, each sheet appears as tiny, in the middle of a huge white page.

    Hello.  May I ask:  I am using Acrobat 6.0.2, and having trouble formatting a PDF created from multiple (jpeg) files.  Each page is formatted to A4 size, portrait.  But when I create the PDF, each sheet appears as tiny, in the middle of a huge white page.  I cannot seem to find any controls to adjust this.  Any advice appreciated.

    Thanks CtDave, for the further info.  Unfortunately, those suggestions are not working, which is strange.
    ....Until last week, I used to make multi-page PDFs straight from Photoshop: File > Automate > Make PDF.  One simply choses the files, orders them, and creates a PDF.  (Resolution doesn't matter; 300 DPI is no problem.)  However, my new Photoshop CS5 does not have the option in Automate.
    What I've done, seeing as Acrobat is letting me down, is use Bridge (new to me) to create the PDF.  It worked without a problem, but seems like more work than the old PS method.  I will download a newer version of Acrobat to see if that makes any difference.
    .....Also, thanks Test Screen Name:  I agree with you that jpeg is irrelevant, and that one can make a PDF from Photoshop (Print > Save As - pdf).  But that only works for SINGLE PAGE pdf, not multiple pages as far as I can tell.
    Kind regards,
    Prince Nuada

  • How to retrieve IndividualStrings from a txt file using String Tokenizer.

    hello can any one help me to retrieve the individual strings from a txt file using string tokenizer or some thing like that.
    the data in my txt file looks like this way.
    Data1;
    abc; cder; efu; frg;
    abc1; cder2; efu3; frg4;
    Data2
    sdfabc; sdfcder; hvhefu; fgfrg;
    uhfhabc; gffjcder; yugefu; hhfufrg;
    Data3
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    val1; val2; val3; val4; val5; val6;
    i need to read the data as an individual strings and i need to pass those values to diffarent labels,the dat in Data3 i have to read those values and add to an table datamodel as 6 columns and rows depends on the data.
    i try to retrieve data using buffered reader and inputstream reader,but only the way i am retrieving data as an big string of entire line ,i tried with stringtokenizer but some how i was failed to retrive the data in a way i want,any help would be appreciated.
    Regards,

    Hmmm... looks like the file format isn't even very consistent... why the semicolon after Data1 but not after Data2 or Data3??
    Your algorithm is reading character-by-character, and most of the time it's easier to let a StringTokenizer or StreamTokenizer do the work of lexical analysis and let you focus on the parsing.
    I am also going to assume your format is very rigid. E.g. section Data1 will ALWAYS come before section Data2, which will come before section Data3, etc... and you might even make the assumption there can never be a Data4, 5, 6, etc... (this is why its nice to have some exact specification, like a grammar, so you know exactly what is and is not allowed.) I will also assume that the section names will always be the same, namely "DataX" where X is a decimal digit.
    I tend to like to use StreamTokenizer for this sort of thing, but the additional power and flexibility it gives comes at the price of a steeper learning curve (and it's a little buggy too). So I will ignore this class and focus on StringTokenizer.
    I would suggest something like this general framework:
    //make a BufferedReader up here...
    do
      String line = myBufferedReader.readLine();
      if (line!=null && line.trim().length()>0)
        line = line.trim();
        //do some processing on the line
    while (line!=null);So what processing to do inside the if statement?
    Well, you can recognize the DataX lines easily enough - just do something like a line.startsWith("Data") and check that the last char is a digit... you can even ignore the digit if you know the sections come in a certain order (simplifying assumptions can simplify the code).
    Once you figure out which section you're in, you can parse the succeeding lines appropriately. You might instantiate a StringTokenizer, i.e. StringTokenizer strtok = new StringTokenizer(line, ";, "); and then read out the tokens into some Collection, based on the section #. E.g.
    strtok = new StringTokenizer(line, ";, ");
    if (sectionNo==0)
      //read the tokens into the Labels1 collection
    else if (sectionNo==1)
      //read the tokens into the Labels2 collection
    else //sectionNo must be 2
      //create a new line in your table model and populate it with the token values...
    }I don't think the delimiters are necessary if you are using end-of-line's as delimiters (which is implicit in the fact that you are reading the text out line-by-line). So the original file format you listed looks fine (except you might want to get rid of that rogue semicolon).
    Good luck.

  • How can I read a specific character from a text file?

    Hi All!
    I would like to read a specific character from a text file, e.g. the 2012th character in a text file with 7034 characters.
    How can I do this?
    Thanks
    Johannes

    just use the skip(long) method of the input stream that reads the text file and skip over the desired number of bytes

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • How to read a tab seperated data from a text file using utl_file

    Hi,
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....
    Thanks in advance...
    Naveen

    Naveen Nishad wrote:
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....If it's a text file then UTL_FILE will only allow you to read it a line at a time. It is then up to you to split that string up (search for split string on this forum for methods) into it's individual components.
    If the text file contains a standard structure on each line, i.e. it is a fixed delimited structure, then you could use external tables to read the data instead.

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • Need to read data from pipe separated file using POJO?

    Hi,
    I need to read data from pipe separated file using POJO.
    There is config.properties file which consists of the
    data mapping.
    Can you help me with sample code or help?
    Regards
    Regards
    Taton
    Edited by: Taton on Mar 7, 2009 4:41 PM

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I print stuff from the 'Help' file using my MacBook Air?

    How can I print stuff from the 'Help' file using my MacBook Air?

    Open the Help viewer, select a category then from the menu bar top of your screen, click File > Print

  • Removing non printable characters from an excel file using powershell

    Hello,
    anyone know how to remove non printable characters from an excel file using powershell?
    thanks,
    jose.

    To add - Excel is a binary file.  It cannot be managed via external methods easily.  You can write a macro that can do this.  Post in the Excel forum and explain what you are seeing and get the MVPs there to show you how to use the macro facility
    to edit cells.  Outside of cell text "unprintable" characters are a normal part of Excel.
    ¯\_(ツ)_/¯

  • How to read a table from a word file, using HWPF

    How can I read a table from a Word file using HWPF?
    I looked in API and Table class doesn't seem to have a constructor... very very strange for me. pls help

    the constructor is HWPFDocument = new HWPFDocument(/*file*/)
    Here is the API for that
    http://poi.apache.org/apidocs/org/apache/poi/hwpf/HWPFDocument.html
    Also here is another link to something that might help you more with tables
    http://www.aspose.com/Community/forums/thread/79182.aspx

  • HT4101 downloading only JPEG files using SD card reader

    I am new to Apple-iPad world,, mostly working on WinXP.
    I am looking to buy a tablet to view photos while I'm on vacation and traveling. I shoot both RAW and JPEG files of each image. When I connect my SD card to an iPad Mini, I'd like to be able to download only the JPEG files, since the RAW files are too large and would quickly fill up my device.
    I've been told that when you plug in the Apple SD card reader, it treats the RAW and JPEG files of an image as one, so when you download you have no choice to just select the JPEGs. Seems like a huge oversight on Apple's part, to offer camera and card connection, but then be so controlling about it, that it doesn't work for people. None of the 3-4 Apple sales reps I've spoken to know of a way around this.
    At this point, I'm lookng at an Android tablet instead, since it doesn't have this limiting feature--though I much prefer the look and size of the iPad Mini screen.  .
    Has anyone else run into this issue? Any thoughts on a work-around?
    (Two solutions that I've thought of--though I don't know if they will work--are: 1) download all of the images, then bring them up in a program like Snapseed, where I can save (really a 'save as') a new JPEG version of my image, then delete the original files that I downloaded, or 2) see if I can download a file manager app that would let me view the different files by size and by type (to identify the RAW files), then delete just these from me iPad)  
    Best, David.

    Thanks Tom, at last an answer!
    So it seems I would need to first download the image files to my tablet--including RAW files--(or whatever the constraits are in working with the Apple SD card reader), and then after the fact, use PMP to delete just the RAW files.
    I assume then that PMP can view the 'standard' photo folders (called 'Albums on my iPod) created by the Apple photo app (or by the iOS, I'm not sure), is that correct?
    This might be an acceptable work-around for me.
    Best, David.  

  • How to read some lines from a text file using java.

    hi,
    i m new to java and i want to read some lines from a text file based on some string occurrence in the file. This file to be read in steps.
    we only want to read the file upto the first Occurrence of "TEXT" string.
    How to do it ,,,
    Kinldy give the code
    Regards,
    Sagar
    this is the text file
    dfgjdjj
    sfjhjkd
    ghjkdg
    hjkdgh TEXT
    ikeyt
    ujt
    jk
    tyk TEXT
    rukl
    r

    Hendawy wrote:
    Since the word "TEXT" is formed of 4 letters, you would read the text file 4 bytes by four bytes. Wrong on two counts. First, the file may not be encoded 1 byte per character. It could be utf-16 in which case it would be two byte per character. Second, even if it were 1 byte per character, the string "Text" may not start on a 4 byte boundary.
    Consider a FileInputStream object "fis" that points to your text file. use fis.read(byte[] array, int offset, int len) to read every four bytes. Convert the "TEXT" String into a byte array "TEXT".getBytes(), and yous the Arrays class to compare the equality of the read bytes with your "TEXT".getBytes()Wrong since it relies on my second point and will fail when fis.read(byte[] array, int offset, int len) does not read 4 bytes (as is no guaranteed to). Check the Javadoc. Also, the file may not be encoded with the default character encoding.
    The problem is easily solved by reading a line at a time using a BufferedReader wrapping an InputStreamReader wrapping a FileInputStream and specifying the correct character encoding.
    Edited by: sabre150 on Apr 29, 2009 2:13 PM

  • Error in loading a jpeg file using webutil

    I´m using webutil with forms9i and got errors when loadin g jpeg files. I selected some files and worked ok. Some files (ones with blank characters inside their names) blow up the form.
    The resultant error message is:
    FRM-92102:a network error has occurred. The Forms Client has attempted to reestablish its connection to the server1 time(s) without success. Please check the network connection and try again later.
    Details...
    Java Exception:
    java.io.IOException: Negative or zero content-length from server
    at oracle.forms.netHTTPNStream.doFlush(Unknown Source)
    at oracle.forms.netHTTPNStream.flush(Unknown Source)
    at javaio.DataOusputStream.flush(Unknown Source)
    at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    Do you have any info about this error?

    It would help if you mentioned which bit of file transfer you are doing there are about 8 different options..
    For instance I tried Clint_to_AS with a file name containing a space and all was OK.
    webutil_file_transfer.client_to_as('d:\temp\a file.txt','d:\temp\foo.txt',false, null);

  • How do I stop lightroom from modifying JPEG files?

    During the Beta phase, I pretty much used lightroom only on RAW files. Now, with V1.0, I have had occassion to use this program on JPEGS produced by a P&S camera.
    Hmmm. It appears that lightroom is writing data to the files. . .Is there anyway to force the program to use independent sidecar files, like it does for RAW? Manipulating JPEGS is a *major* draw back.
    (So far. . I have been smart enough to only feed lightroom *copies* of files. . .so no data has been corrupted yet)
    Thanks for your help.

    Yes, Lightroom V1.0 is DEFINATLY writing data to JPEG files.
    I would VERY STRONGLY prefer sidecar files, as I do not want to ever modify the "as shot" files.
    Simply NOT USING the sidecar data, however, is silly. How else do you know what has been done to the images? I have now developed the following (really cludgy yet effective) work practice:
    1) When storing files, I immediately create a "modified" and "Original" image directory. (Yes, this effectively DOUBLES storage requirements).
    2) The original files are immediately tagged as "read only" within XP. This stops (I hope) lightroom from messing with them if I make a mistake.
    3) I import the "modified" files into lightroom for image handling. I allow lightroom to modify these files to it's hearts content.
    This seems to be working well for me. I have had to move some directories around, and have "reimported" the modified JPEGs into lightroom: Lightroom correctly (I think) maintained all the edits from my original pass at the files. I have not checked if the histories are lost. . .but that is not a big deal, as I only care about the end result.
    BUT. . . I still would STRONGLY prefer a sidecar file.
    PS: This is my biggest nit-pick with lightroom so far. Except that I suspect that Lightroom V1.0 (with 200 images in the library so for) appears slower than Lightroom B4.1

Maybe you are looking for