Dot detection fully working. Left to link it to the playback