-2

I'm rather novice in C++ and I must realize this schoolar project :

Assume an image in a document containing both texts and images.

There should be a program written in C++ whose the goal is to load the document and extract separately texts and images in order to output it in some target destinations like UI or file.

Furthermore, if image contains any texts like legends, program should be able to extract it separately too.

Is there an existing c++ library that respond to those requirements ?

Name is Nilay
  • 2,653
  • 4
  • 29
  • 75
gamliel
  • 23
  • 4

2 Answers2

4

Yes, OpenCV. http://sourceforge.net/projects/opencvlibrary/

Fabio Ceconello
  • 15,049
  • 5
  • 34
  • 49
4

No doubt in that, use OpenCV.

But remember, you have a long way to go.

1. First of all, you should be good in C++ and object oriented programming.

Well, if you are not good, try to learn it first. Check out following link for some best resources : https://stackoverflow.com/questions/909323/what-are-good-online-resources-or-tutorials-to-learn-c

2. Then get OpenCV and install

Check out OpenCV homepage to get info about downloading and installing OpenCV.

3. Now get and read some good books on OpenCV

The best book on OpenCV is "Learning OpenCV" written by Gary Bradsky, main founder of OpenCV.

Second one is "OpenCV cookbook".

These books contains lots of examples on OpenCV along with description

4. Check out OpenCV documentation.

OpenCV documentation contains details of complete functions. It also includes a lot of tutorials, which are really good for all.

5. Also try running OpenCV samples. It contains a lot of good programs

And always, Google is your best friend. Ask everything there first. Come here only when you are lost in your path.

Acquire all the above things. Then you will be really good in OpenCV and i am sure you will enjoy its power. Once you are done with these, you will get enough idea on realizing your project.( Otherwise, you will post new questions every day asking codes to realize your project, which will be useless for you. )

For your understanding, your project include advanced things like Optical Character Recognition. It is a big topic. So build yourself from basics. And it will take time.

All the best.

Community
  • 1
  • 1
Abid Rahman K
  • 48,289
  • 27
  • 140
  • 153
  • 1
    +1 On top of all that, after he get used to OpenCV I would suggest searching stackoverflow for insteresting works using OpenCV, [like this one](http://stackoverflow.com/a/8863060/176769), that can be used to detect a paper sheet in a picture. – karlphillip Feb 01 '12 at 17:52