# Revision history [back]

Hi, i want to speed up my Object-detection. The idea is that the algorithm only search in the region of the mask. Is there a simple solution to realize this? for example the mask look loke this:
i can use findContour, but i think thats not effectiv by areas with a wide spread.
i can use findContour, but i think thats not effectiv by areas masks with a wide spread.