AlexP - 20 June 2008 03:51 PM
Hull - 17 June 2008 03:03 AM
After I fixed code like your solution. The result is different. My cpu usage consumption is raise from 25 - 30 % to 47 - 50 %. But the repsonse is more sensitive than before.
Do you guys have this kind of problem ? Any suggestion ?
Edit : 640 x 480 @ 30 fps
Thank you
Hull
The reason why for some people the CPU usage may rise (using my touchlib fixes) is that on their hardware touchlib didn’t run at the camera capture speeds in the first place. So Hull, in your setup it is possible that with the older version, your touchlib blob tracking was running at around 15fps, while it now runs at 30fps. Hence higher CPU usage. You might want to try the 320x240 camera resolution and compare the results. BTW, what camera are you using?
~Alex
Yep, Alexp. I think like you because I used function GetTickCount to compare time between fixed and not fixed code. The result in the fixed code used about 31 - 32 ms and the result in non fixed code is 63 - 64. This is the answer like you say and My camera is Fire-i B/W 30FPS after I changed fps from 30 to 15 fps , my cpu usage around 16 - 20 %. This is all of my testing. Thanks For Introduce AlexP.
Hull