Because I want to work with an image that I have in memory. Can anybody help me with this :
I have managed to add the reference to my c++ project. Here is my configuration (2 projects) : myProject : project that do not use CLR (I need it to be very fast) tessnet2 : project that use CLR and that compiles the tessnet2.dll I made a reference from myProject to tessnet2. I guess I have to make an include? I tried to include tessnet2.h but this does not work because it does not recognize the namespace System( I guess because I don't use CLR in this project). Can anybody help me? Thanks a lot! On 4 fév, 13:36, Jordan L Dressman <[email protected]> wrote: > Why are you using a Bitmap I thought tess only works with tiffs? > > ----- Original Message ----- > From: Jessica <[email protected]> > Date: Wednesday, February 4, 2009 4:22 > Subject: From bitmap to unsigned char * > To: tesseract-ocr <[email protected]> > > > 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 -~----------~----~----~----~------~----~------~--~---

