I am following above link to run text detection and recognition on jetson nano. I encountered a few problems . Can you help me with the following ?
EasyOCR referred in the above repo no longer exists , due to which easyocr. Reader doesnt have use_trt option which would allow to use existing model . Now when i am running easyocr from pip install . It tries to train the model and OS kills the process due to Out of Memory Error ?
Is there any alternative solution i can use for text detection using Jetson Nano ? or how can i run the above code ?
Many Thanks for quick response . When i trying to build easyocr . I get below error . I checked pywt git repo as well and tried building it from there but there is no setup.py file there as well.
As it says easyocr is already active , i tried import easyocr . it fails with below error
Traceback (most recent call last):
File “”, line 1, in
File “/home/jetsonnano/Trials/scene-text-recognition/EasyOCR/easyocr/init.py”, line 1, in
from .easyocr import Reader
File “/home/jetsonnano/Trials/scene-text-recognition/EasyOCR/easyocr/easyocr.py”, line 39, in
from .detection import get_detector, get_textbox
File “/home/jetsonnano/Trials/scene-text-recognition/EasyOCR/easyocr/detection.py”, line 47, in
from .imgproc import resize_aspect_ratio, normalizeMeanVariance
File “/home/jetsonnano/Trials/scene-text-recognition/EasyOCR/easyocr/imgproc.py”, line 8, in
from skimage import io
File “/usr/local/lib/python3.6/dist-packages/scikit_image-0.17.2-py3.6-linux-aarch64.egg/skimage/io/init.py”, line 7, in
from .manage_plugins import *
File “/usr/local/lib/python3.6/dist-packages/scikit_image-0.17.2-py3.6-linux-aarch64.egg/skimage/io/manage_plugins.py”, line 23, in
from .collection import imread_collection_wrapper
File “/usr/local/lib/python3.6/dist-packages/scikit_image-0.17.2-py3.6-linux-aarch64.egg/skimage/io/collection.py”, line 13, in
from tifffile import TiffFile
File “/usr/local/lib/python3.6/dist-packages/tifffile-2024.2.12-py3.6.egg/tifffile/init.py”, line 3, in
from .tifffile import *
File “/usr/local/lib/python3.6/dist-packages/tifffile-2024.2.12-py3.6.egg/tifffile/tifffile.py”, line 1336
/,
^
I managed to install easyocr without any errors but when i run the video_capture file . i again face the same problem where the process gets killed due to memory limitations.
It still looks to train the model instead of using the trained output although use_trt flag is set.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Hi,
Do you use Nano 2GB or Nano 4GB?
Could you monitor the system status with tegrastats to confirm the OOM issue?