Hi, Look tessnet2 source code, It's done with Gdi+. http://www.pixel-technology.com/freeware/tessnet2/src.zip
Rémi On Feb 4, 10:22 am, Jessica <[email protected]> wrote: > Hi, > > I have a big problem. > I want to ocr screenshots. > > I am under windows vista, using c++, gdi+ > > I have a Gdiplus::Bitmap, I need to convert it to an unsigned char * > to put it in TessDLLAPI (I'm using tessdll.dll) > > I used the function LockBits to get a BitmapData and then scan0 to get > an unsigned char * > But this does not work! > > I don't know how to format it. > Could someone help me please? > > Thank you! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en -~----------~----~----~----~------~----~------~--~---

