Trying to run OpenCV as a 32bit exe file

asked 2015-10-28 02:15:12 -0500

fredreload gravatar image

So here is my story. I am creating a program for OCR with tesseract. I installed OpenCV C++ on a 32 bit window and created an exe file name Project4.exe with the following dll files: opencv_videoio300.dll opencv_imgproc300.dll opencv_imgcodecs300.dll opencv_highgui300.dll opencv_core300.dll libtesseract302.dll liblept168.dll

Now I ran the exe file with these dlls in the C# platform as a asynchronous process and everything works. The user interface imshow() also shows up.

Now when I transfer these files to another computer with a 64 bit window, the program runs the standard std out message when I give too few arguments. But besides that nothing shows up for OCR or the user interface imshow() with the image I want. I am running the webform of the 64 bit window computer in my 32 bit computer and I am not sure if the user interface is supposed to show up by running the exe remotely in this method.

Lastly, when I transfer all the files into the 64bit windows computer back home, everything works again as I am using Visual Studio 2013. So my conclusion is, 64bit window is not the problem because the program runs as I provided them with the correct dlls files. I am not sure if OpenCV or Tesseract part of the program is working since I cannot get an image output and both those programs are not installed in the remote 64bit window computer. Either that or something is locked in the remote computer. This is all the information I am getting. Please help.

edit retag flag offensive close merge delete


Alright it is Tesseract-OCR problem, I have it removed and now I am getting empty images. I guess I installed it in my home computer some time before and forgot. How do I get it to work without a .net wrapper?

fredreload gravatar imagefredreload ( 2015-10-28 02:31:14 -0500 )edit

OpenCV does not have an official C# wrapper ...

StevenPuttemans gravatar imageStevenPuttemans ( 2015-10-28 09:29:49 -0500 )edit