gnebehay / CMT

http://www.gnebehay.com/cmt
Other
241 stars 112 forks source link

CMT for multiple objects #25

Open shuchitagupta opened 6 years ago

shuchitagupta commented 6 years ago

Can CMT be used for multiple objects in a frame? If yes, please suggest the best way that could be possible.

noodlebreak commented 6 years ago

It can be, but the process might become slow. You'll have to use good hardware to track multiple objects.

On 17-Jan-2018 2:21 PM, "shuchitagupta" notifications@github.com wrote:

Can CMT be used for multiple objects in a frame? If yes, please suggest the best way that could be possible.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gnebehay/CMT/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AFM5qJB6o6YYhVa8tmXp7p-JIZ1ftaEAks5tLbSSgaJpZM4Rg_hZ .

shuchitagupta commented 6 years ago

How can I do it?

noodlebreak commented 6 years ago

The whole process is currently written for tracking one selected object.

At this point I'd advise you to keep the color of the boundaries of the objects different for visual differentiation.

Just modify the code to select multiple objects and initialise CMT with their data, instead of just one.

Then each function in the tracking pipeline will be sent all these multiple objects per frame to analyse for tracking info.

I guess this could take a day or two, so happy code digging.

As I said earlier, you better have a fast machine.

On 18-Jan-2018 10:15 AM, "shuchitagupta" notifications@github.com wrote:

How can I do it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gnebehay/CMT/issues/25#issuecomment-358536350, or mute the thread https://github.com/notifications/unsubscribe-auth/AFM5qKWxyRlTbuVkRn4sLRYHIyu-SDRcks5tLsx1gaJpZM4Rg_hZ .