Skip to content

S-1 B-4 helmet and license plate detection using ML #413

@abhiramseshu

Description

@abhiramseshu

I am getting the following issue while running my project

_error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:217: error: (-212:Parsing error) Failed to parse NetParameter file: yolov3-custom_7000.weights in function 'cv::dnn::dnn4_v20220524::readNetFromDarknet'
Traceback:
File "C:\Users\abhir\OneDrive\Documents\GitHub\Helmet-and-Number-Plate-Detection-and-Recognition\ev2\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in run_script
exec(code, module.dict)
File "C:\Users\abhir\OneDrive\Documents\GitHub\Helmet-and-Number-Plate-Detection-and-Recognition\source.py", line 12, in
net = cv2.dnn.readNet("yolov3-custom_7000.weights", "yolov3-custom.cfg")

And it cant import keras models

Screenshot 2024-06-20 200553

The packages in the requirements files were

imutils==0.5.4
numpy==1.24.3
opencv_python==4.6.0.66
Pillow==10.0.1
tensorflow==2.13.0
tensorflow_intel==2.13.0

And this is the github repo i got it from

https://github.com/FatimaSidra/Helmet-and-Number-Plate-Detection-and-Recognition

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions