Søren Hyltoft
unread,Jun 29, 2024, 7:05:29 AM (9 days ago) Jun 29Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to doubango-ai
Hi
Would you please explain the duration time for the benchmark vs. recognize?
We use VIM3 with npu = true.
From the benchmark we achieve approximately 100ms per frame.
From recognize we achieve 286ms per frame?
Benchmark:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./benchmark \
--positive /home/khadas/assets/images/lic_us_1280x720.jpg \
--negative /home/khadas/assets/images/london_traffic.jpg \
--assets /home/khadas/assets \
--npu_enabled true \
--parallel false \
--charset latin \
--loops 100 \
--rate 1.0 > logs_pro.txt 2>&1
*[ULTALPR_SDK INFO]: *** elapsedTimeInMillis: 10647.536120, estimatedFps: 9.391844 ***
Recognize:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./recognizer \
--npu_enabled true \
--parallel false \
--image /home/khadas/assets/images/lic_us_1280x720.jpg \
--assets /home/khadas/assets \
--charset latin > logs_pro.txt 2>&1
*[ULTALPR_SDK INFO]: result: {"duration":286,"frame_id":0,"plates":[{"car":{"confidence":100.0,"warpedBox":[69.55086,152.8351,1090.131,152.8351 ,1090.131,622.245,69.55086,622.245]},"confidences":[89.90966,100.0,90.39812,90.13478,89.90966,90.70899,90.51414,90.5447,90.63953],"text ":"3PEDLM*","warpedBox":[824.3737 ,338.9218,919.9542,338.9218,919.9542,400.4016,824.3737,400.4016]}]}