Detecting a radius that has been changing during video

1 view (last 30 days)
Hi, I just want to set a radius for my video for my finger I mean while its getting away from my camera in a video. How do I set its radius and check the radius change of the finger's tip while its moving away from the camera? Any help would be app. it,
Best Regards,
Batuhan
  1 Comment
Image Analyst
Image Analyst on 5 Dec 2022
I guess you could use MATLAB. Like
radius = 100; % Or whatever.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 5 Dec 2022
Moved: Image Analyst on 5 Dec 2022
You have to adapt it to find the thing you're interested in. My segmentation algorithm looked for green object. Yours will undoubtedly be something different. What that might be we have no idea because you are not attaching your video or even a frame from it. Maybe you have to change it to look for flesh colored things. Or maybe you have a dark finger against a bright uniform background and you can simply convert to grayscale and threshold it.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
for a basic tutorial on finding objects by intensity thresholding.
  2 Comments
Batuhan Istanbullu
Batuhan Istanbullu on 5 Dec 2022
Moved: Image Analyst on 5 Dec 2022
I'm trying to use your code to generate for my video but HSV values keep giving me error

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!