Selective remove or blur logo in image

asked 2020-06-26 11:41:43 -0500

edsoncv gravatar image

updated 2020-06-27 03:31:33 -0500

supra56 gravatar image

Hello experts I have some experience with OpenCV in Java and I would like some ideas from the community. It can be in pseudocode, or some tip. I have very long videos with logos and I would like to replace/remove the logo region of the video, or just blur it. In every frame, the logo is in the same position, however, in some frames there are a partial overlay of the logo, which I cannot remove/blur because it has important information. Check the images (the logo is in the left botton): Most part of the video is like this.

C:\fakepath\vlcsnap-2020-06-25-22h47m14s568.png

In some parts of the video, the region is like this. Notice that I cannot remove/blur the same region to avoid missing the information.

C:\fakepath\vlcsnap-2020-06-25-23h06m20s982.png

I know that some video editors, such as Kdenlive, can do that, but I must move the blur mask every time the logo is covered or uncovered. I have more than 10h of video and it will be very difficult to do it mannually in Kdenlive. Any clues? Thanks

edit retag flag offensive close merge delete

Comments

you will need to detect your logo, using e.g. template matching, a self-trained haarcascade, or an object detection network (cnn)

berak gravatar imageberak ( 2020-06-26 12:02:37 -0500 )edit