Results 1 to 2 of 2
Thread: serialization
- 02-06-2010, 08:52 AM #1
Member
- Join Date
- Feb 2010
- Posts
- 2
- Rep Power
- 0
serialization
Hi,
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.
thanx
- 02-06-2010, 04: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
Similar Threads
-
Serialization
By thayalan in forum Advanced JavaReplies: 4Last Post: 08-03-2009, 10:22 PM -
Serialization
By vijay24805 in forum Threads and SynchronizationReplies: 1Last Post: 04-10-2009, 09:16 PM -
about serialization
By bishnu in forum New To JavaReplies: 0Last Post: 12-19-2008, 09:13 AM -
Need help using serialization
By xcallmejudasx in forum New To JavaReplies: 0Last Post: 12-02-2008, 08:23 PM -
What is Serialization and de-serialization in Java
By Java Tip in forum java.ioReplies: 0Last Post: 04-04-2008, 02:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks