After this issue, we identify that the Paths class was returning a black image with the paths. This was caused by the draw method, something unexpected.
We were assigning the mask with the paths to the frame variable and this is the cause of the fusion of two undesired images in this line.
After this issue, we identify that the
Paths
class was returning a black image with the paths. This was caused by thedraw
method, something unexpected.We were assigning the mask with the paths to the
frame
variable and this is the cause of the fusion of two undesired images in this line.