What is wrong with the attached contour dectection code?
Mostrar comentarios más antiguos
The attached code opens webcame with bounding box. The bounding box is for the hand. The code should capture the image of the hand in the bounding box, detects
Code is supposed to do following things.
- Opens webcam with bounding box for hand
- The image of hand is captured by pressing spacebar key
- The hand image is cropped
- Skin is detected from the cropped image of hand
- draw contour of hand in white color on black image
But it is not doing so. Please help me.
5 comentarios
Geoff Hayes
el 29 de Nov. de 2019
Explorer - what is happening when you run your code? Please describe.
Explorer
el 29 de Nov. de 2019
Editada: Image Analyst
el 29 de Nov. de 2019
Image Analyst
el 29 de Nov. de 2019
Editada: Image Analyst
el 29 de Nov. de 2019
If nothing is wrong with the image capture part, can you attach the image file so we can concentrate on just the contour detection part of the code?
I looked over the code. If you have done color segmentation and have a binary image of the hand/skin, then why do you need to go on and use activecontour() on it? What does that buy you???
Explorer
el 30 de Nov. de 2019
KALYAN ACHARJYA
el 30 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 30 de Nov. de 2019
More: you can easily segment those hands based on image preprocessing and thresholding.
Respuestas (0)
Categorías
Más información sobre Face Detection en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


