Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm looking for a algorithm (best case in opencv) to detect and track objects in a specific low resolution distance image. The goal is to have a bounding box, which best describes the object. For my use case I only have 16 Regions of Interest. Each RoI gives me the distance of the object in that Region and the amount of space occupied by that object (percent). Here is how the information could look like:

example

Since I only get one distance per RoI there is no way to differentiate between 2 objects inside this RoI by just using this information. But maybe there is an algorithm that can make benefit of the occupancy information. Which algorithms could be used to detect and track multiple objects inside the field of view with the given information.

additional information:
-The pixelspace for the bounding box is at a fixed size of 500,500 (size of outputgrid)
-The algorithm would therefore have to take the 4x4 pixels and operate in subpixelspace to find the bounding boxes
-Objects can not lie on of of each other, but can be beside each other like in the example (row 2, col 0)

What I have tried:

I've looked at several algorithms like the Blob-Detector in opencv. But they all work with normal pixel values instead of the values that I am given and I'm not sure how I could redefine the picture information, so that it can be used with these normal computer vision algorithms.
Posted
Updated 31-Jul-18 13:55pm
v3

Looks like you should use some morphological image processing here. But no method is going to give you a unique answer, as potentially several blobs could be on top of each other.
 
Share this answer
 
Comments
Member 13787917 31-Jul-18 10:59am    
Updated the question. The objects can not be on top of each other.
"Tracking" implies "movement"; movement, and therefore "objects", can be detected by comparing frames over time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900