This will never work. You are using the wrong approach. Of course this cannot be filled with anything AI-based, because there is simply no pattern to detect. And why would you even? The whole area is just plain black and easily can be covered up with a small black solid. Again, you are going about this the wrong way.