I have a c++ program for finding spots in image (i.e the program i have is for video file). We need to convert that program into python but the complication is that for Python we have image file not a video file, We need a convert that c++ program( for video file) into python (for image file not for video file). Here i am attaching c++ program file and image file .
The image that i have attached is already background subtracted.
Main part of the program starts converting from finding spot i.e in c++ program