0

I am working on making License Plate Module for the below project and I am getting FileNotFoundError: [WinError 2] The system cannot find the file specified when running the project. It works fine using an interactive window

Project Link: https://github.com/codeproject/CodeProject.AI-Server

License Plate Module Link: https://github.com/MikeLud/CodeProject.AI-Server/tree/main/src/modules/ALPR

enter image description here

enter image description here

Below is what I tried

`

OCR='Paddle' # 'YOLO' or 'Paddle'

import io
from PIL import Image

from codeprojectai import CodeProjectAIRunner
from common import JSON
from analysislogging import LogMethod

from options import Options
opts = Options()

if OCR == 'Paddle':
    from paddleocr import PaddleOCR
    ocr = PaddleOCR(lang='en', rec_algorithm='CRNN', \
                    cls_model_dir='paddleocr/ch_ppocr_mobile_v2.0_cls_infer', \
                    det_model_dir='paddleocr/en_PP-OCRv3_det_infer', \
                    rec_model_dir='paddleocr/en_PP-OCRv3_rec_infer')

`

Mike Lud
  • 11
  • 1

0 Answers0