udit043 / hand-recognition-using-opencv Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I tried changing the code below in the hope that when I don't raise my hand or close my hand the screen will show 0. Can you help me. I want to identify by numbers 1 2 3 4 5 and 0 when holding hands. Hope to receive your response as soon as possible. Thank you very much!
code:
char txt[40] = "";
if (con == 0)
{
char txt1[] = "1";
strcat(txt, txt1);
}
else if (con == 0)
{
char txt1[] = "2";
strcat(txt, txt1);
}
else if (con == 2)
{
char txt1[] = "3";
strcat(txt, txt1);
}
else if (con == 3)
{
char txt1[] = "4";
strcat(txt, txt1);
}
else if (con == 4)
{
char txt1[] = "5";
strcat(txt, txt1);
}
else
{
char txt1[] = "0"; // Jarvis can't recognise you
strcat(txt, txt1);
}
Hello,
I borrowed an Intel Realsense camera from my lecturer and I code a program to stream the RGB video from the camera and I intend to play around with the camera and try to integrate your codes in it. But I have an issue where I am not sure which part should I modify for it to work. Hoping for your suggestion. I think the problem is the feed from my camera is in Mat Image. Below I attach my code hoping for your reply.
Hi my friend, I've done all the steps according to 'how_to_compile' notes, when i compile it there is no error, but when i run it the webcam doesn't appear. and then the close program window appears. can you help me?
I even change 0 to 1 or -1 but same result...:(
CvCapture* capture = cvCaptureFromCAM(1);
I've also removed '!' from if(!cvQueryFrame(capture)). but same issue
I'm trying to run your code, but :
defects= cvConvexityDefects(ptseq,hull,storage2 );
always return 0, can you help me?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.