Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

OpenCV3 FaceDetect C++ TOP

Helpful techniques for working with TouchDesigner. Answers only, no questions.

OpenCV3 FaceDetect C++ TOP

Postby mouren » Fri Aug 24, 2018 3:33 am

Hi folks, I created a C++ TOP at the request of Greg Finger of PLGRM Visuals. You can find the code here on GitHub
https://github.com/mourendxu/TD-OpenCV3TOP

Feel free to branch, modify and etc.

I did include a compiled DLL with this, so, you can try it out without compiling the code yourself. Though, you do need to download the OpenCV3 binary distro from opencv.org. The dll was compiled against 3.4.1.

Please check Readme and the very nice demo TD project that Greg has created, which is also on Github.

Have fun.
mouren
 
Posts: 79
Joined: Fri Oct 17, 2014 3:10 am

Re: OpenCV3 FaceDetect C++ TOP

Postby carloalan » Mon Oct 01, 2018 3:55 pm

Hey mouren,

thanks for this post! looks promising.. Im trying to get it work but somehow it doesnt. When I load the example file it gives me an error saying "failed to load the dll".

I tried compiling a dll here with Visual Studio 2017, but thats not my strongest. I somehow cant get it working.. Any pointers on compiling the code on my Windows 10, 64 bit machine?

Best
Daniel
carloalan
 
Posts: 12
Joined: Wed Jul 27, 2011 1:10 pm

Re: OpenCV3 FaceDetect C++ TOP

Postby Timesquid » Thu Dec 20, 2018 7:31 pm

Mouren

I also have not had any luck getting this to run, I thought at first my environment variables were off, but I tried everything to fix that. still no dice... been looking through the source and I cant seem to find anything I could be doing wrong.

Any idea if I can manually put the openccv dlls somewhere ?
Timesquid
 
Posts: 120
Joined: Wed Jan 04, 2012 8:08 pm

Re: OpenCV3 FaceDetect C++ TOP

Postby Timesquid » Thu Dec 20, 2018 10:34 pm

Got it with help from :elburz: ... it was an issue with my environment variables, needs the path to the vc15 *version in the OPENCV_DIR var and then the path var needs the whole path the the bin , so OPENCV_DIR - C:\OpenCV\opencv\build\x64\vc15 (in my case) and then in "path" variable we need to add : "C:\OpenCV\opencv\build\x64\vc15\bin"
Timesquid
 
Posts: 120
Joined: Wed Jan 04, 2012 8:08 pm


Return to Techniques

Who is online

Users browsing this forum: No registered users and 1 guest

cron