Initially everything is alright. Although, cant register ImageProcessor due to having a thread inside. ¿How to solve it?