JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
PyLicensePlate.PyLicensePlate Class Reference

Detect license plates on NPU using YuNet TIM-VX. More...

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def processGUI (self, inframe, helper)
 Process function with GUI output. More...
 

Public Attributes

 modelname
 
 model
 
 timer
 
 h
 
 w
 

Detailed Description

Detect license plates on NPU using YuNet TIM-VX.

This module runs on the JeVois-Pro NPU using a quantized deep neural network. It is derived from https://github.com/opencv/opencv_zoo/tree/master/models/license_plate_detection_yunet See LICENSE for license information.

Please note that the model is trained with Chinese license plates, so the detection results of other license plates with this model may be limited. See the screenshots of this module for examples, or search for "Chinese license plate" on the web for more images.

This module is mainly intended as a tutorial for how to run quantized int8 DNNs on the NPU using OpenCV and TIM-VX, here achieved through only small modifications of code from https://github.com/opencv/opencv_zoo - in particular, the core class for this model, LPD_YuNet, was not modified at all, and only the demo code was edited to use the JeVois GUI Helper for fast OpenGL drawing as opposed to slow drawings into OpenCV images.

Author
Laurent Itti
Display Name:
PyLicensePlate
Videomapping:
JVUI 0 0 30.0 CropScale=RGB24@512x288:YUYV 1920 1080 30.0 JeVois PyLicensePlate
Videomapping:
JVUI 0 0 30.0 CropScale=RGB24@256x144:YUYV 1920 1080 30.0 JeVois PyLicensePlate
Email:
itti@usc.edu
Address:
University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org/doc
Other URL:
http://iLab.usc.edu
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 39 of file PyLicensePlate.py.

Constructor & Destructor Documentation

◆ __init__()

def PyLicensePlate.PyLicensePlate.__init__ (   self)

Constructor.

Definition at line 42 of file PyLicensePlate.py.

Member Function Documentation

◆ processGUI()

Member Data Documentation

◆ h

PyLicensePlate.PyLicensePlate.h

◆ model

PyLicensePlate.PyLicensePlate.model

Definition at line 46 of file PyLicensePlate.py.

Referenced by PyLicensePlate.PyLicensePlate.processGUI().

◆ modelname

PyLicensePlate.PyLicensePlate.modelname

◆ timer

◆ w

PyLicensePlate.PyLicensePlate.w

The documentation for this class was generated from the following file: