Remove the background from this dark image
Objective is to get the edge of the object
I want to remove the dark color background for this image below.
Is there any other method apart from gradCut
in OpenCV
We lack Active Contour
in OpenCV which could have given a nice result here from SciKit Image
Image below shows the Original image and its detection.
Original
Detected with active contour
we see a lot of duplicate questions here, lately. do you remember how it happened ?
Actually there was a GSoC implementing active contours for facial landmark detection. You might be able to extract the active contour part and adapt it to your needs?
@berak The question is actually about foreground and background, but final objective was a bit different. I did search, Can't see any python implementation of the active contour in OpenCV.
@StevenPuttemans Wish we had something like Anisotropic Edge-Based Balloon Eikonal Active Contours in OpenCV
@santosh1 , i only enquired about the duplicate (again, it happens so often, since the last forum update). if you have any hints, let us know, please !
(and i know, that you did your research, not the problem here !)
@berak 👍 Sure