sedflix / DeepFlowerCounter

Count a particular kind of flower in an image by training our model on 10-15 images using class-agnostic-counting
4 stars 0 forks source link

Background Subtraction #2

Closed sedflix closed 4 years ago

sedflix commented 4 years ago

As suggested by Saket Sir, we got to try this:

The following link will give you a sense of how background subtraction works in general. https://docs.opencv.org/3.4/d1/dc5/tutorial_background_subtraction.html
https://www.geeksforgeeks.org/background-subtraction-opencv/ This specific function seems to work better than texture and color together, so you may want to try using this. https://docs.opencv.org/3.4/de/d4c/classcv_1_1bgsegm_1_1BackgroundSubtractorLSBP.html
I can't recall any standalone implementation of texture based background subtraction method, however, if you have the bandwidth to implement your own texture-based background subtraction algorithm, then we can discuss further. Although I'd strongly recommend first trying the aforementioned approaches so that you have a clear sense of how existing approaches work.

Let me know if you need any help with OpenCV!