I am converting an OpenCV image to SimpleCV via simple Image(opencv_image) call and using Image.findBlobs() to get the blob. However, I can not get the bounding box using Blobs.getBoundingBox() as I get the error :
blobs.draw() AttributeError: 'NoneType' object has no attribute 'draw'
fgmask is the foreground mask I have received after background subtraction.
Here is my code:
simplecvimg = Image(fgmask, cv2image=True)
blobs = simplecvimg.findBlobs()
blobs.draw()
simplecvimg.show()