Jump to content

Create a selection box


 Share

Recommended Posts

hi, i'm trying to create a screen OCR using the Tesseract lib found on this forum (btw, it's really awesome).

i'd wish to create a "selection box" other the window, so i'll be able to get the 4 coord of the box and then pass them to the tesseract function.

is that possible' i searched the forum, but i didn't find anything.

can you help me?

thanks in advance

Link to comment
Share on other sites

i'm so sorry, but i can't figure how to make it work.

btw i get an error when i try to run it (probably a non-declared variable).

i tried to "fix" it, but this is what i get (see screen below).

post-50871-12597506539464_thumb.jpg

btw this is what i'd wish to create:

post-50871-12597506609449_thumb.jpg

is that possible?

thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...