Giter Site home page Giter Site logo

Comments (5)

wutianze avatar wutianze commented on July 26, 2024

I ran the work in yolo_prune folder, and I got the result by ./yolo ./image/ i. But I ran into an error when I inference the model by the following command : ./yolo {VideoFileName.avi} v

The error message is :

Failed to query video capabilities: Inappropriate ioctl for device
libv4l2: error getting capabilities: Inappropriate ioctl for device
VIDEOIO ERROR: V4L: device ./video/road_trafifc.mp4: Unable to query number of channels
OpenCV Error: Unspecified error (GStreamer: your gstreamer installation is missing a required plugin
) in handlemessage, file /usr/src/debug/opencv/3.3+gitAUTOINC+87c27a074d_2a9d1b22ed_a62e20676a_34e4206aef_fccf7cd6a4-r0/git/modules/videoio/src/cap_gstreamer.cpp, line 1860
VIDEOIO(cvCreateCapture_GStreamer (CV_CAP_GSTREAMER_FILE, filename)): raised OpenCV exception:

/usr/src/debug/opencv/3.3+gitAUTOINC+87c27a074d_2a9d1b22ed_a62e20676a_34e4206aef_fccf7cd6a4-r0/git/modules/videoio/src/cap_gstreamer.cpp:1860: error: (-2) GStreamer: your gstreamer installation is missing a required plugin
 in function handlemessage

open video error!

It seems like missing some Gstreamer plugins, and I wonder how to solve it or tell me another way to run the video input successfully. Thank you!

It seems like your video file or camera has some problem. Try another video or device first

from dnndk-pynqz2.

107060009 avatar 107060009 commented on July 26, 2024

Is the video supposed to be .avi or .mp4 file?
Or there are some restrictions for the input video?

from dnndk-pynqz2.

wutianze avatar wutianze commented on July 26, 2024

Is the video supposed to be .avi or .mp4 file? Or there are some restrictions for the input video?

Sorry, I don't remember the content in yolo_prune. I recommend you turn into the yolo_keras in this project.

And for your problem, try another video or just one image to see if the code works well.

from dnndk-pynqz2.

107060009 avatar 107060009 commented on July 26, 2024

I tried one image as input, and yolo_prune works well.

I also tried the work in yolo_keras.
I ran the Makefile in yolo_keras/yolo_pynq2 and generated the yolo executable file.
However, when I ran the command:
./yolo dog.jpg
the pynqz2 unexpectedly disconnected the network and then shut down.
Is there any problem in my steps?

from dnndk-pynqz2.

wutianze avatar wutianze commented on July 26, 2024

I tried one image as input, and yolo_prune works well.

I also tried the work in yolo_keras. I ran the Makefile in yolo_keras/yolo_pynq2 and generated the yolo executable file. However, when I ran the command: ./yolo dog.jpg the pynqz2 unexpectedly disconnected the network and then shut down. Is there any problem in my steps?

Unexpectedly shutting down usually means the power input is not enough. If you follow the steps in the guideline, it should work. It is hard for me to reproduce your problem.

from dnndk-pynqz2.

Related Issues (16)

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.