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

RTSP Source video Python #165

Closed Thib390 closed 3 years ago

Thib390 commented 3 years ago

Hi,

I use python extension on linux x86. I add rtsp source code with opencv using YUV format: ultimateAlprSdk.ULTALPR_SDK_IMAGE_TYPE_YUV420P

I simply add rtsp from opencv and convert grabbed images in PIL image and then convert to YUV format.

Resulting in Process:

*[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 [PythonRecognizer] Process: OK -> {"duration":425,"frame_id":0}

DoubangoTelecom commented 3 years ago

Must be BGR instead of YUV. Check https://www.doubango.org/SDKs/anpr/docs/Getting_started.html#opencv