Based on the ticket #75 we've chosen the "ExG + Otsu + Morphology" method for the background removal. Also, based on the ticket #57 we've prepared the the way for accessing frames.
The goal of this ticket would be to create some kinda modular construction which can be used in a callback function - function/class/... .
The idea is to have all operations on GPU (if possible). To achieve this, please take a look at the following resources:
NOTE: If there's a need for opencv+cuda package, please raise this.
Please note that Otsu threshold operation has no GPU support. If we will not find a workaround in this ticket, we'll create a ticket to implement it.
DoD:
- a "module" for background removal is created
- approach is tested on test images
- latencies and tradeoffs documented
Based on the ticket #75 we've chosen the "ExG + Otsu + Morphology" method for the background removal. Also, based on the ticket #57 we've prepared the the way for accessing frames.
The goal of this ticket would be to create some kinda modular construction which can be used in a callback function - function/class/... .
The idea is to have all operations on GPU (if possible). To achieve this, please take a look at the following resources:
cupy (same thing, but on GPU), its readmeNOTE: If there's a need for opencv+cuda package, please raise this.Please note that Otsu threshold operation has no GPU support. If we will not find a workaround in this ticket, we'll create a ticket to implement it.DoD: