Home > Mobile >  How can I connect a gap in a white frame on black background with python opencv?
How can I connect a gap in a white frame on black background with python opencv?

Time:09-09

I developed a frame detection algorithm in python using opencv that detects a metallic frame in a rgb image. The output is a white frame on a black background. However, if the frame is partly covered, it contains gaps. How can I fill the gaps, preferably using opencv?

Example output of my algorithm:

enter image description here

  • Related