DoubangoTelecom / ultimateALPR-SDK

World's fastest ANPR / ALPR implementation for CPUs, GPUs, VPUs and NPUs using deep learning (Tensorflow, Tensorflow lite, TensorRT, OpenVX, OpenVINO). Multi-Charset (Latin, Korean, Chinese) & Multi-OS (Jetson, Android, Raspberry Pi, Linux, Windows) & Multi-Arch (ARM, x86).
https://www.doubango.org/webapps/alpr/
Other
617 stars 158 forks source link

runtimeKey binary no works on recent Khadas builds firmware #279

Closed edsalazarx closed 1 year ago

edsalazarx commented 1 year ago

Khadas Fenix 1.0.11 : [COMPV INFO]: [UltAlprSdkEnginePrivate] recogn_tf_num_threads: 6, acceleration backend: AmlogicNPU [PLUGIN_AMLNPU INFO]: /!\ Code in file '/home/ultimateAmlogicNPU/pluginAmlogicNPU/source/plugin_amlnpu_interface.cxx' in function 'pluginAmlogicNPU_Engine_new' starting at line #113: Version: 1.0.0 [PLUGIN_AMLNPU FATAL]: function: "pluginAmlDetect()" file: "/home/ultimateAmlogicNPU/pluginAmlogicNPU/source/plugin_amlnpu_detect.cxx" line: "59" message: [pluginAmlDetect] Graph verify failed: -1 -> A generic error code, used when no other describes the error. [PLUGIN_AMLNPU FATAL]: function: "pluginAmlDetect()" file: "/home/ultimateAmlogicNPU/pluginAmlogicNPU/source/plugin_amlnpu_detect.cxx" line: "60" message: Assertion failed! Aborted

Khadas Fenix 1.0.10 : [PLUGIN_AMLNPU INFO]: /!\ Code in file '/home/ultimateAmlogicNPU/pluginAmlogicNPU/source/plugin_amlnpu_interface.cxx' in function 'pluginAmlogicNPU_Engine_new' starting at line #113: Version: 1.0.0 [PLUGIN_AMLNPU INFO]: [pluginAmlDetect] Amlogic NPU-accelerated detector(detect_main) created [COMPV INFO]: [UltAlprDetector] We have managed to create /home/khadas/ultimateALPR-SDK/assets/models.amlogic_npu/PID0x88/ultimateALPR-SDK_detect_main.mobile.model.amlogic.doubango detector/classifier for AmlogicNPU. Ignoring Tensorflow detector/classifier. [PLUGIN_AMLNPU INFO]: [pluginAmlDetect] Amlogic NPU-accelerated detector(detect_pysearch) created [COMPV INFO]: [UltAlprDetector] We have managed to create /home/khadas/ultimateALPR-SDK/assets/models.amlogic_npu/PID0x88/ultimateALPR-SDK_detect_pysearch.mobile.model.amlogic.doubango detector/classifier for AmlogicNPU. Ignoring Tensorflow detector/classifier. [COMPV INFO]: [UltAlprSdkEngine]Call: requestRuntimeLicenseKey [COMPV INFO]: [UltBaseEngine]UltBaseEngineReadSystemFile: fgets[18446744073709551615] returned valid string *[ULTALPR_SDK INFO]:

{"runtimeKey":"*****"}

*[ULTALPR_SDK INFO]: Press any key to terminate !!

Both tested on fresh instalations

DoubangoTelecom commented 1 year ago

NPU acceleration is supported only on the version listed at https://github.com/DoubangoTelecom/ultimateALPR-SDK/blob/master/AmlogicNPU.md#operating-system You'll have to disable NPU acceleration if you're not using the reference version.

edsalazarx commented 1 year ago

there is a link for eMMc iso?, on documentation is only available for SD/USB and this build is no longer available on Khadas downloads

edsalazarx commented 3 months ago

Please add support to new Khadas Firmware, the refrence version https://github.com/DoubangoTelecom/ultimateALPR-SDK/blob/master/AmlogicNPU.md#operating-system not working on new Khadas VIM 3 Reivisions