Open navidp opened 8 years ago
on IPC2 running ubunto and opencv 2.4.11 static library and Qt 5.2.1 using following command cv-cat hangs after first or second frames:
while true ; do echo 20160101T000000,30,20,16,$( yes 255,0,0 | head -n600 | tr '\n' ',' | sed 's/,$//' ) | csv-to-bin t,3ui,$(( 600 * 3 ))ub ; done | cv-cat "view;null"
but it works fine with sleep added:
while true ; do ( sleep 0.5 ; echo 20160101T000000,30,20,16,$( yes 255,0,0 | head -n600 | tr '\n' ',' ) ; sleep 0.5 ; echo 20160101T000000,30,20,16,$( yes 0,0,255 | head -n600 | tr '\n' ',' ) ) | sed -u 's/,$//' | csv-to-bin t,3ui,$(( 600 * 3 ))ub ; done | cv-cat "view;null"
on IPC2 running ubunto and opencv 2.4.11 static library and Qt 5.2.1 using following command cv-cat hangs after first or second frames:
while true ; do echo 20160101T000000,30,20,16,$( yes 255,0,0 | head -n600 | tr '\n' ',' | sed 's/,$//' ) | csv-to-bin t,3ui,$(( 600 * 3 ))ub ; done | cv-cat "view;null"
but it works fine with sleep added:
while true ; do ( sleep 0.5 ; echo 20160101T000000,30,20,16,$( yes 255,0,0 | head -n600 | tr '\n' ',' ) ; sleep 0.5 ; echo 20160101T000000,30,20,16,$( yes 0,0,255 | head -n600 | tr '\n' ',' ) ) | sed -u 's/,$//' | csv-to-bin t,3ui,$(( 600 * 3 ))ub ; done | cv-cat "view;null"