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

Detect and decode English or Chinese text on NPU using 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
 
 charset
 
 tdname
 
 recognizer
 
 detector
 
 timer
 
 h
 

Detailed Description

Detect and decode English or Chinese text on NPU using 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/text_recognition_crnn See LICENSE for license information.

By default, English is used, but you can change that to Chinese in the constructor

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:
PySceneText
Videomapping:
JVUI 0 0 30.0 CropScale=RGB24@512x288:YUYV 1920 1080 30.0 JeVois PySceneText
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 37 of file PySceneText.py.

Constructor & Destructor Documentation

◆ __init__()

def PySceneText.PySceneText.__init__ (   self)

Constructor.

Definition at line 40 of file PySceneText.py.

Member Function Documentation

◆ processGUI()

Member Data Documentation

◆ charset

PySceneText.PySceneText.charset

Definition at line 48 of file PySceneText.py.

Referenced by PySceneText.PySceneText.processGUI().

◆ detector

PySceneText.PySceneText.detector

Definition at line 62 of file PySceneText.py.

Referenced by PySceneText.PySceneText.processGUI().

◆ h

PySceneText.PySceneText.h

Definition at line 75 of file PySceneText.py.

Referenced by PySceneText.PySceneText.processGUI().

◆ modelname

PySceneText.PySceneText.modelname

Definition at line 47 of file PySceneText.py.

Referenced by PySceneText.PySceneText.processGUI().

◆ recognizer

PySceneText.PySceneText.recognizer

Definition at line 59 of file PySceneText.py.

Referenced by PySceneText.PySceneText.processGUI().

◆ tdname

PySceneText.PySceneText.tdname

Definition at line 49 of file PySceneText.py.

Referenced by PySceneText.PySceneText.processGUI().

◆ timer


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