• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java API for JPEG to txt or excel conversion  RSS feed

 
Ajay Njallacattu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm trying to findout an API which can help me to convert JPEG to txt or excel conversion. Can anyone help me with this?


Regards

Ajay
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Um. How would converting an image to text work? What does the image contain? Not that it really matters, cause it would be an extremely tricky problem.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36441
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajay,
Maybe look at character recognition software? That would help with the text part. For Excel, I would think it would be next to impossible.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It wouldn't be *that* difficult, really. Relative to something really, really difficult, anyway.

The OCR part is largely a solved problem. And some of the commercial OCR bits will let you select chunks and drop them into tables--I assume they just identify regions (lines, which is trivial, and columns, which is probably just the same thing with some wiggle room for the unjustified text). If you can get that far, you can turn it into CSV.
 
Ajay Njallacattu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good to see some replies.. The Jpeg contains some values. This is scanned from a hardcopy. for example a ledger etc.
I need to extract these values to some calculation which will be easy if I convert it into txt,csv etc.

Regards

Ajay
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!