Detect two objects in contact

asked 2015-08-09 08:14:03 -0600

Suppose two objects in motion are in contact with each other. There could be a scenario when contact breaks for a while, so I want to capture that moment. How can I achieve it??

edit retag flag offensive close merge delete

Comments

1

Would be nice to provide some images. But one thought would be that since the two object are in contact then you are gonna have one blob, aka. object, detected whenever they split you will have two blobs detected. Thus at that point you can trigger and imwrite() instance. It is a simple approach, however without images and a better description it is hard to guess, isn't it?

theodore gravatar imagetheodore ( 2015-08-09 13:16:34 -0600 )edit

like @theodore said, it all depends on your application and what you already have. Do you have trackers in place for each blob?

StevenPuttemans gravatar imageStevenPuttemans ( 2015-08-10 02:30:13 -0600 )edit