I have an image here. As you can see in the image the background has a pattern that makes it challenging to detect the lego objects. Based on my current code, the object edges a