RPI 5

20 views
Skip to first unread message

Miloš Sidor

unread,
Mar 17, 2025, 6:01:43 PMMar 17
to doubango-ai
Hello,

I am running Recognizer on RPI 5 (64 bit OS Raspberry) with this command and the corresponding output:

LD_LIBRARY_PATH=/home/admin/ultimateALPR-SDK/binaries/linux/aarch64/ /home/admin/ultimateALPR-SDK/binaries/linux/aarch64/recognizer --assets /home/admin/ultimateALPR-SDK/assets --tokendata ANI6+wW8BUVDUFFVdzBBR1VQRkMuBApERW4nS1FTRkg/KTEAGTwQeEtZREJUNUdRbG83BkhWIE5kXBsoID1pSFBfb1xHdSs4NiI1FiAId2pvWHFJRUZiYDcfP2pXcC9nBFIfJjdrRkFbfH1YKgtDNxQvMGRhYkZOSnlpY2xXNRc8NGJIX1AlCzkjKRdRNUVLXGkMLz0/JigQBg5gVmNiW3oxeU5HCD8xIEY0TCU2VyEiDilUVG18bws+MTIbHgJjfG12 --charset latin --image /home/admin/Kamera/17.3.2025/V_15-5-1.jpg --debug_write_input_image_enabled true --debug_internal_data_path /home/admin/ultimateALPR-SDK/
*[ULTALPR_SDK INFO]: Starting recognizer...
*[COMPV INFO]: [UltAlprSdkEngine]Call: init
*[COMPV INFO]: [UltAlprSdkEngine]jsonConfig: {"debug_level": "info","debug_write_input_image_enabled": false,"debug_internal_data_path": ".","num_threads": -1,"max_jobs": -1,"gpgpu_enabled": true,"asm_enabled": true,"intrin_enabled": true,"klass_vcr_gamma": 1.5,"detect_roi": [0, 0, 0, 0],"detect_minscore": 0.1,"car_noplate_detect_min_score": 0.8,"pyramidal_search_enabled": true,"pyramidal_search_sensitivity": 1.0,"pyramidal_search_minscore": 0.3,"pyramidal_search_min_image_size_inpixels": 800,"recogn_minscore": 0.3,"recogn_score_type": "min","assets_folder": "/home/admin/ultimateALPR-SDK/assets","charset": "latin","recogn_rectify_enabled": true,"car_noplate_detect_enabled": false,"ienv_enabled": false,"openvino_enabled": false,"openvino_device": "CPU","npu_enabled": true,"trt_enabled": false,"klass_lpci_enabled": false,"klass_vcr_enabled": false,"klass_vmmr_enabled": false,"klass_vbsr_enabled": false,"license_token_data": "ANI6+wW8BUVDUFFVdzBBR1VQRkMuBApERW4nS1FTRkg/KTEAGTwQeEtZREJUNUdRbG83BkhWIE5kXBsoID1pSFBfb1xHdSs4NiI1FiAId2pvWHFJRUZiYDcfP2pXcC9nBFIfJjdrRkFbfH1YKgtDNxQvMGRhYkZOSnlpY2xXNRc8NGJIX1AlCzkjKRdRNUVLXGkMLz0/JigQBg5gVmNiW3oxeU5HCD8xIEY0TCU2VyEiDilUVG18bws+MTIbHgJjfG12"}
*[COMPV INFO]: [UltAlprSdkEngine]**** Copyright (C) 2011-2024 Doubango Telecom <https://www.doubango.org> ****
ultimateALPR-SDK <https://github.com/DoubangoTelecom/ultimateALPR-SDK> version 3.13.2

*[COMPV INFO]: [CompVBase] Initializing [base] modules (v 1.0.0, nt -1)...
*[COMPV INFO]: [CompVBase] sizeof(compv_scalar_t)= #8
*[COMPV INFO]: [CompVBase] sizeof(float)= #4
*[COMPV INFO]: Initializing window registery
*[COMPV INFO]: [ImageDecoder] Initializing image decoder...
*[COMPV INFO]: [CompVCpu] H: '', S: '***', M: 'Raspberry Pi 5 Model B Rev 1.0', MN: ''
*[COMPV INFO]: [CompVBase] CPU features: [arm];[arm64];neon;neon_fma;vfpv4;
*[COMPV INFO]: [CompVBase] CPU cores: online=#4, conf=#4
*[COMPV INFO]: [CompVBase] CPU cache1: line size: #64B, size :#0KB
*[COMPV INFO]: [CompVBase] CPU Phys RAM size: #4050GB
*[COMPV INFO]: [CompVBase] CPU endianness: LITTLE
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/compv_base.cxx' in function 'init' starting at line #195: Not optimized -> Your ARM OS is neither Android nor Raspberry Pi nor iOS nor NVIDIA Jetson. You may miss some optimizations. Let us know what's your OS.
*[COMPV INFO]: [CompVBase] Binary type: AArch64
*[COMPV INFO]: [CompVBase] Intrinsic enabled
*[COMPV INFO]: [CompVBase] Assembler enabled
*[COMPV INFO]: [CompVBase] Code built with option /arch:NEON
*[COMPV INFO]: [CompVBase] OS name: Generic Linux
*[COMPV INFO]: [CompVBase] Math Fast Trig.: true
*[COMPV INFO]: [CompVBase] Math Fixed Point: true
*[COMPV INFO]: [CompVMathExp] Init
*[COMPV INFO]: [CompVBase] Default alignment: #32
*[COMPV INFO]: [CompVBase] Best alignment: #32
*[COMPV INFO]: [CompVBase] Heap limit: #262144KB (#256MB)
*[COMPV INFO]: [CompVParallel] Initializing [parallel] module...
*[COMPV INFO]: [CompVAsyncTask11] run(coreId:requested=0,set=useless, threadId:0x7ffec7e4b100, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] run(coreId:requested=1,set=useless, threadId:0x7ffec763b100, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVAsyncTask11] run(coreId:requested=2,set=useless, threadId:0x7ffec6e2b100, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVThreadDispatcher] Thread dispatcher created with #4 threads/#4 cores
*[COMPV INFO]: [CompVParallel] [Parallel] module initialized
*[COMPV INFO]: [CompVBase] [Base] modules initialized
*[COMPV INFO]: [CompVAsyncTask11] run(coreId:requested=3,set=useless, threadId:0x7ffec661b100, kThreadSetAffinity:false) - ENTER
*[COMPV INFO]: [CompVCore] Initializing [core] module (v 1.0.0)...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 1 and name = 'FAST (Features from Accelerated Segment Test)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 8 and name = 'ORB (Oriented FAST and Rotated BRIEF)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 27 and name = 'Sobel edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 28 and name = 'Scharr edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 29 and name = 'Prewitt edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 20 and name = 'Canny edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 30 and name = 'Hough standard (STD)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 31 and name = 'Kernel-based Hough transform (KHT)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 41 and name = 'Standard Histogram of oriented gradients (S-HOG)'...
*[COMPV INFO]: [CompVMatcher] Registering matcher factory with id = 0 and name = 'Brute force matcher'...
*[COMPV INFO]: [CompVConnectedComponentLabeling] Registering connected component labeling factory with id = 1 and name = 'PLSL (Parallel Light Speed Labeling)'...
*[COMPV INFO]: [CompVConnectedComponentLabeling] Registering connected component labeling factory with id = 19 and name = 'LMSER (Linear Time Maximally Stable Extremal Regions)'...
*[COMPV INFO]: [CompVGL] Initializing [gl] module (v 1.0.0)...
*[COMPV INFO]: [CompVGL] GL module initialized
*[COMPV INFO]: [CompVGpu] Initializing [gpu] module (v 1.0.0)...
*[COMPV INFO]: [CompVSharedLib] Loading shared library from libcuda.so
*[COMPV INFO]: [CompVGpu] Failed to open CUDA lib
*[COMPV INFO]: [CompVCamera] Initializing [camera] module (v 1.0.0)...
*[COMPV INFO]: [CompVDrawing] Initializing [drawing] module (v 1.0.0)...
*[COMPV INFO]: [CompVDrawing] /!\ No jpeg decoder found
*[COMPV INFO]: [CompVDrawing] Drawing module initialized
*[COMPV INFO]: [UltAlprSdkEnginePrivate]No hardware information found -> no NPU backend will be loaded
*[COMPV INFO]: [CompVGpu] GPU enabled: true
*[COMPV INFO]: /!\ Code in file '/home/ultimate/ultimateBase/lib/source/ultimate_base_engine.cxx' in function 'init' starting at line #75: Not optimized for GPU -> GPGPU computing not enabled or deactivated
*[COMPV INFO]: [UltBaseOpenCL] Trying to load [libOpenCL.so]
*[COMPV INFO]: [CompVSharedLib] Loading shared library from libOpenCL.so
*[COMPV INFO]: [UltBaseOpenCL] Failed to load [libOpenCL.so]
*[COMPV INFO]: [UltOcrEngine] Tensorflow version: 1.12.3
*[COMPV INFO]: [UltBaseEngine]UltBaseEngineReadSystemFile: fgets[18446744073709551615] returned valid string
*[COMPV INFO]: [UltAlprSdkEnginePrivate]IC took 0 millis
*[COMPV INFO]: [CompVCpu] Enabling asm code
*[COMPV INFO]: [CompVCpu] Enabling intrinsic code
*[COMPV INFO]: [UltAlprSdkEnginePrivate]pysearch_sensitivity(1.000000) >= 1.0, using the most accurate model possible. More info at https://www.doubango.org/SDKs/anpr/docs/Improving_the_accuracy.html#golden-number.
*[COMPV INFO]: [UltAlprSdkEnginePrivate]recogn_tf_num_threads: 4, acceleration backend:
*[COMPV INFO]: [UltAlprRecognizer] TensorRT not enabled, do not create the plugin for the OCR model.
*[COMPV INFO]: [UltOcrRecognizer] Your OCR module is neither GPU nor NPU optimized.
*[COMPV INFO]: [UltOcrTensorflowSessionOptions] Alloc session with gpu_memory_alloc_max_percent = 10%
*[COMPV INFO]: [UltOcrRecognizer] OCR module backend: Tensorflow
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/compv_mem.cxx' in function 'CompVMemCopy_C' starting at line #985: Not optimized -> No SIMD implementation found. On ARM consider http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka13544.html
*[COMPV INFO]: /!\ Code in file '/home/ultimate/ultimateALPR/lib/source/ultimate_alpr_detector.cxx' in function 'process' starting at line #29: Not optimized -> Batching will not be activated for this function
*[COMPV INFO]: /!\ Code in file '/home/ultimate/ultimateOCR/lib/source/ultimate_ocr_tensorflowlite_session_detect.cxx' in function 'process' starting at line #56: Not optimized -> Batching not supported for this function
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/intrin/arm/compv_mem_intrin_neon.cxx' in function 'CompVMemUnpack3_Intrin_NEON' starting at line #96: Not optimized -> ASM code faster
*[COMPV INFO]: /!\ Code in file '/home/ultimate/ultimateText/lib/source/ultimate_text_fuser.cxx' in function 'process' starting at line #189: Is for testing and must not be called -> Fragments should be trimmed
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/math/compv_math_matrix.cxx' in function 'mulAtA' starting at line #881: Contains a TODO: -> Deprecated: use CompVMath::mulAB
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/math/compv_math_matrix.cxx' in function 'transpose' starting at line #619: Not optimized -> No MT implementation could be found
*[COMPV INFO]: /!\ Code in file '/home/ultimate/ultimateText/lib/source/ultimate_text_slant.cxx' in function 'applyTransformation' starting at line #90: Not optimized -> Bundle homogenous transformation + transpose + mulABt + homogeneousToCartesian2D
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/math/compv_math_matrix.cxx' in function 'transpose' starting at line #619: Not optimized -> No MT implementation could be found
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/math/compv_math_transform.cxx' in function 'homogeneousToCartesian2D' starting at line #98: Not optimized -> No SIMD or GPU implementation found
*[COMPV INFO]: /!\ Code in file '/home/ultimate/compv/base/math/compv_math_matrix.cxx' in function 'invA3x3' starting at line #515: Not optimized -> No SIMD or GPU implementation found.
*[ULTALPR_SDK INFO]: Processing done.
*[ULTALPR_SDK INFO]: result: {"duration":135,"frame_id":0,"plates":[{"car":{"confidence":99.60938,"warpedBox":[316.2479,18.93837,1730.034,18.93837,1730.034,1132.095,316.2479,1132.095]},"confidences":[89.52301,98.82812,90.03418,89.52301,90.44049,89.89144,90.45428,90.38937],"text":"GA573Y","warpedBox":[1153.512,811.7923,1340.542,811.7923,1340.542,888.3058,1153.512,888.3058]}]}
*[ULTALPR_SDK INFO]: Press any key to terminate !!

*[ULTALPR_SDK INFO]: Ending recognizer...
*[COMPV INFO]: [UltAlprSdkEngine]Call: deInit
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [Thread] Thread with id=0x7ffec7e4b100 will join
*[COMPV INFO]: [CompVMem] poolCleanBuffersForCurrentThread(threadId:0x7ffec7e4b100)
*[COMPV INFO]: [CompVAsyncTask11] run(threadId:0x7ffec7e4b100) - EXIT
*[COMPV INFO]: Thread with id=0x7ffec7e4b100 will join
*[COMPV INFO]: [Thread] ***Thread with id=0x7ffec7e4b100 destroyed***
*[COMPV INFO]: [Thread] Thread with id=0x7ffec763b100 will join
*[COMPV INFO]: [CompVMem] poolCleanBuffersForCurrentThread(threadId:0x7ffec763b100)
*[COMPV INFO]: [CompVAsyncTask11] run(threadId:0x7ffec763b100) - EXIT
*[COMPV INFO]: Thread with id=0x7ffec763b100 will join
*[COMPV INFO]: [Thread] ***Thread with id=0x7ffec763b100 destroyed***
*[COMPV INFO]: [Thread] Thread with id=0x7ffec6e2b100 will join
*[COMPV INFO]: [CompVMem] poolCleanBuffersForCurrentThread(threadId:0x7ffec6e2b100)
*[COMPV INFO]: [CompVAsyncTask11] run(threadId:0x7ffec6e2b100) - EXIT
*[COMPV INFO]: Thread with id=0x7ffec6e2b100 will join
*[COMPV INFO]: [Thread] ***Thread with id=0x7ffec6e2b100 destroyed***
*[COMPV INFO]: [Thread] Thread with id=0x7ffec661b100 will join
*[COMPV INFO]: [CompVMem] poolCleanBuffersForCurrentThread(threadId:0x7ffec661b100)
*[COMPV INFO]: [CompVAsyncTask11] run(threadId:0x7ffec661b100) - EXIT
*[COMPV INFO]: Thread with id=0x7ffec661b100 will join
*[COMPV INFO]: [Thread] ***Thread with id=0x7ffec661b100 destroyed***
*[COMPV INFO]: [CompVBase] Base modules deinitialized
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [CompVBase] Base modules deinitialized
*[COMPV INFO]: Drawing module deinitialized
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [CompVBase] Base modules deinitialized
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [CompVBase] Base modules deinitialized
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [CompVBase] Base modules deinitialized
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [CompVBase] Base modules deinitialized
*[COMPV INFO]: [CompVBase] DeInitializing base modules (v 1.0.0)...
*[COMPV INFO]: [CompVBase] Base modules deinitialized


Using this picture, when I try to recognize using RPI 5, the last character is missing. When I try to recognize the same picture using your web app, everything is recognized correctly. Is there something I can set up better on RPI 5 to get better result? Thanks.
V_15-5-1.jpg

Mamadou DIOP

unread,
Mar 17, 2025, 8:55:22 PMMar 17
to Miloš Sidor, doubango-ai

Hello,

Quote from https://www.doubango.org/pricing.html:

"In short, the SDKs are faster and more accurate on x86-64."

--
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 visit https://groups.google.com/d/msgid/doubango-ai/f11b217b-59b7-4c04-9b28-2699c9fdbff8n%40googlegroups.com.

Miloš Sidor

unread,
Mar 18, 2025, 3:42:09 AMMar 18
to doubango-ai
Hello,

thanks for answer. So the setup on my Raspberry is not Bad, but when I want to have more accurate reading I need to run it on some Windows PC, right?

Dátum: utorok 18. marca 2025, čas: 1:55:22 UTC+1, odosielateľ: Mamadou DIOP
Reply all
Reply to author
Forward
0 new messages