Results 1 to 2 of 2
- 02-06-2010, 09:52 AM #1Member
- Join Date
- Feb 2010
- Rep Power
Am trying to do a project on text extraction from images (ocr) in java. If anybody could help me in this, it would be of great help.
At present am planning to do the training using kohonen network. using a gui, image of each character is added in the text field and trained. But i want to serialize the added data, so that i need not add it a second time later.
would u please provide me with the code so that i could serialize the data once trained.
plus if anyone could help me with the ocr project, it would be a greater advantage.
- 02-06-2010, 05:03 PM #2
well, would all the images always fit into available memory ? Such as would a kind of database be useful if there are more data than available memory ?
In general, to serialize an object, the object needs to implement the Serializable interface. One thing to remember is that every object in the structure to be serialized must be serializable.
And then use an ObjectOutputStream to serialize the object out to [the file], ObjectInputStream to read it back in.
I like the old serialization discussion here: Discover the secrets of the Java Serialization API
- By thayalan in forum Advanced JavaReplies: 4Last Post: 08-03-2009, 10:22 PM
- By vijay24805 in forum Threads and SynchronizationReplies: 1Last Post: 04-10-2009, 09:16 PM
- By bishnu in forum New To JavaReplies: 0Last Post: 12-19-2008, 10:13 AM
- By xcallmejudasx in forum New To JavaReplies: 0Last Post: 12-02-2008, 09:23 PM
- By Java Tip in forum java.ioReplies: 0Last Post: 04-04-2008, 02:47 PM