Identifying a moving object in an image extracted from video and then cropping the original image based on the centroid of that object

3 views (last 30 days)
Hello good people,
Following my previous question, here I wanted to redefined what i am trying to do.
I need to detect a particular objects out of many objects in an image. Then I need to find its centroid and then crop the image around that particular tracked object using its centroid as the centre of that rectangular crop.
I am working on vehicle detection by extracting frames from overhead drone videos. Here, I am trying to track a particular vehicle and crop the bigger image around that tracked vehicle.
For example, attached image 1 is the full size extracted image from the video, and I want to identifiy all the vehicles in this image (if possible). Then dectecting the white car (highlighted in image 2) and cropping the image around it.
It will be very helpful if sombody can give me some advice in this regard. I greatly appreciate your help!

Answers (0)

Community Treasure Hunt

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

Start Hunting!