What's been done already:
I already have working code of real-time detection and tracking of circular particles (100 µm in diameter) without complex background. This code also works with slight background but not with varying background. Until now I have file/stream/camera video interfacing for real time using opencv vs2015 c++. In short, I have working code, GUI to control camera
Improve the existing code for 'Real-time tracking of circular particles with variant background' and once it works then it should also track rectangular shapes. All shapes have size in range of 20 to 100 µm.
Important: It should be able to track shapes in different backgrounds. Full code is already working but needs some improvements regarding background subtraction
I have uploaded 3 videos of particle with and without background
One video is without background (input_100µm), output of this video using available code is (output_100µm). Third video is with background but the code doesn't work on this video and I need to track shape this shape with background and background can also be varying.