Giter Site home page Giter Site logo

Comments (3)

JAOT avatar JAOT commented on July 17, 2024

I would suggest you run the the file while in the directory of the run.py file.

Apparently, it's lookin for the video with a path relative to where you are?

from people-counting-in-real-time.

Yessine360 avatar Yessine360 commented on July 17, 2024

still same error unfortunately :/
C:\Users\msi>cd C:\Users\msi\Desktop\People-Counting-in-Real-Time-master

C:\Users\msi\Desktop\People-Counting-in-Real-Time-master>python run.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input videos/example_01.mp4
Traceback (most recent call last):
File "run.py", line 353, in
run()
File "run.py", line 42, in run
net = cv2.dnn.readNetFromCaffe(args["prototxt"], args["model"])
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1132: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "mobilenet_ssd/MobileNetSSD_deploy.caffemodel" in function 'cv::dnn::ReadProtoFromBinaryFile'

from people-counting-in-real-time.

Yessine360 avatar Yessine360 commented on July 17, 2024

I would suggest you run the the file while in the directory of the run.py file.

Apparently, it's lookin for the video with a path relative to where you are?

nvm it worked now, thanks <3

from people-counting-in-real-time.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.