0
I’m using, open source, sorry, I’m beginner, I want to change it on if
and else
:
else if (!thumbIsOpen && !firstFingerIsOpen && !secondFingerIsOpen && !thirdFingerIsOpen && !fourthFingerIsOpen)
{
LOG(INFO) << "FIST!";
}
instead of log, I want to show the word on webcam how to do this in C++?
or any tips on how to fix Python with C++...
Thank you!
You asked what it was like in C++
– FourZeroFive
If you want to amend C with Python, you should search for Cython, besides that the code I made is practically the same for Python, only changes the variable.
– FourZeroFive
Ok, is that "cv2.putText" is in python I think, I will try to study the cython and implement in the project, thank you very much for clarifying my doubts!
– Luciano Gamer
putText is from Opencv, so it works for Python and C++
– FourZeroFive
I understood sorry for my error I searched and really putText serves for both, I’m only doing wrong in the code while running it have kind an error what is "putText" not declared...
– Luciano Gamer
Check out the Miles
– FourZeroFive
#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> #include <string> am using these.
– Luciano Gamer
Try using something to print the opencv version, to see if it really matters
– FourZeroFive