Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting com_ error while running fun_util.py and recognize_gestures.py giving no or wrong outputs #9

Open
akash1725 opened this issue May 19, 2018 · 10 comments

Comments

@akash1725
Copy link

I'm getting com_error while running fun_util.py. While searching on the net, I found the error to be related to pyttsx3 but i'm not able to locate the exact problem. Can you help me with this??

@akash1725 akash1725 changed the title getting com_ error while running fun_util.py getting com_ error while running fun_util.py and recognize_gestures.py giving no or wrong outputs May 19, 2018
@EvilPort2
Copy link
Owner

Can't help you without knowing the computer's software specifications and the exact error message. Sorry

@akash1725
Copy link
Author

About recognize_gesture.py, this program worked. But when showing the hand signs, most of the time it is not showing any output whereas some other time it is showing "love" as the output.
My computer's specification is 4gb RAM, Intel core i5 with NVIDIA GEFORCE graphic card.

@EvilPort2
Copy link
Owner

It means that the recognition is not happening perfectly. Did you run the set_hand_hist.py file first before running fun_util.py or recognize_gesture.py?

@akash1725
Copy link
Author

Yes, i did that. As far as I understood, that is for setting the image background and lighting conditions. Does the accuracy suffer in too bright or too dim lighting conditions?
And what should I keep in mind (like lighting conditions or distance between camera and hand) while running the code so that it gives output similar to the video you have uploaded

@EvilPort2
Copy link
Owner

In the video if you see the 'thresh' window, you will notice that it contains the outline of my hand and nothing else. In your case you should see your hands' outline, if you have set the hand histogram right. That is the perfect setting.

@akash1725
Copy link
Author

akash1725 commented May 20, 2018

i found that with changing the thresholding changes the output...like earlier it was detecting 'A' very well, now it doesnt. So just wanted to make sure whether the way i am doing thresholding is correct or not..in that 5*10 green box we have to place our hand so that the thresholded image has white region only where the hands are. What if it makes other region white as well if it has the skin color (like arms and face). Also is it fine if the box contains only the palm area (it fills it completely) or it should contain fingers as well??
I am assuming we have to place the palm area in the green box, not the other side of hand.
And if you have a video where you have shown how thresholding is done by you, it would be really helpful...

@EvilPort2
Copy link
Owner

@cvyjojo
Copy link

cvyjojo commented Jan 18, 2019

still, give me wrong outport after setting up the histogram

@cvyjojo
Copy link

cvyjojo commented Jan 18, 2019

is it because you have merge other projects also with this model???

@EvilPort2
Copy link
Owner

Please download the latest repo. I have fixed those issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants