Opening write fifo in read mode to prevent write-open error
Reopening input fifo in case of problems
Added target detect command, incomplete
Working on target location / detected params reporting
Added reporting of hsv/detect result