VIM3 duration time for benchmark vs. recognize

10 views
Skip to first unread message

Søren Hyltoft

unread,
Jun 29, 2024, 7:05:29 AM (9 days ago) Jun 29
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]}]}

Mamadou DIOP

unread,
Jun 29, 2024, 9:07:41 AM (9 days ago) Jun 29
to Søren Hyltoft, doubango-ai
Hi,


You can write your own benchmark as explained on the link

Most importantly, it’s useless to enable NPU if you’re disabling parallel processing 

On 29 Jun 2024, at 11:05, Søren Hyltoft <soren....@gmail.com> wrote:

Hi
--
You received this message because you are subscribed to the Google Groups "doubango-ai" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango-ai...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/1c84c136-2241-4ca6-818c-62e9db404c70n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages