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: 112
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: 19
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: 124
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: 124
Joined: Wed Jan 04, 2012 8:08 pm

Re: OpenCV3 FaceDetect C++ TOP

Postby why » Mon Apr 01, 2019 10:11 pm

This has been updated and is now much easier to use and implement.
why
 
Posts: 70
Joined: Mon Apr 27, 2015 3:14 pm

Re: OpenCV3 FaceDetect C++ TOP

Postby mouren » Fri Apr 05, 2019 5:20 pm

Hey guys,

so sorry about not replying. I didn't check the forum for a very long time, been occupied with a few other things.

In the future, please start an issue on github. That would send me a notice, and I should respond much quicker.

I am glad you guys got it working.

As Why pointed out, it just got a major update. Along with the update, I also revamped the documentation, with much more detailed instructions on how to get it compiled on both Mac and Windows, as well as how to run it on either Mac and Windows.

Again, apologies. Hope you guys are getting some good use out of it.

Da.
mouren
 
Posts: 112
Joined: Fri Oct 17, 2014 3:10 am


Return to Techniques

Who is online

Users browsing this forum: No registered users and 3 guests