Giter Site home page Giter Site logo

Comments (8)

erikszewczyk avatar erikszewczyk commented on June 8, 2024 1

Thanks for looking into it - I should have thought to manually update when troubleshooting anyway but forgot at the time.

from pigeon.

geraldoramos avatar geraldoramos commented on June 8, 2024

Thanks Erik!

I will look into this asap and possibly update the project to use Motion 4. There are a lot of improvements I would like to make.

from pigeon.

geraldoramos avatar geraldoramos commented on June 8, 2024

Oh, wait a second, I've changed this recently, it was installing the version 3 straight from the repository but now the install script is using apt-get. The apt-get command is probably not installing the last version. Anyway, I will look into this and make sure I'm doing the best approach to install motion in the system.

from pigeon.

erikszewczyk avatar erikszewczyk commented on June 8, 2024

Hey Geraldo-

I received a new Pi Zero W today, This Pi Zero I bought for the express purpose of building a security camera to cover my front door...As it's a new Pi I started with the latest version of Raspbian (Stretch) which comes with Motion 4.0-1. To my surprise I was also getting the same "Unable to open video device" screen as I had with the other Pi running Jessie.

At first I tried an apt-get update/upgrade however this did not upgrade Motion and left it on 4.0-1. Again I had to manually update from the Motion repository:

wget https://github.com/Motion-Project/motion/releases/download/release-4.0.1/pi_stretch_motion_4.0.1-1_armhf.deb
sudo dpkg -i pi_stretch_motion_4.0.1-1_armhf.deb

Once it was updated to Motion 4.0.1-1 from 4.0-1 everything started working.

HTH,
Erik
http://freelearner.how

from pigeon.

geraldoramos avatar geraldoramos commented on June 8, 2024

Thanks Erik.

I think the issue is not related to the version itself, check this out:
https://raspberrypi.stackexchange.com/questions/27737/unable-to-open-video-device-and-grey-screen

Looks like running sudo modprobe bcm2835-v4l2 should fix the grey screen issue.

I will see if it makes sense to add this as part of the installation script. For now, I will include this tip in the readme file so people who are having this issue can try sudo modprobe bcm2835-v4l2. I will also mention installing from the repo as a second option.

Thanks for helping to troubleshoot this.

from pigeon.

erikszewczyk avatar erikszewczyk commented on June 8, 2024

Thanks Geraldo,

I built another one today, same problem initially but then sudo modprobe bcm2835-v4l2 fixed it.

Thanks,
Erik

from pigeon.

geraldoramos avatar geraldoramos commented on June 8, 2024

Thanks, I will add this to the install script. Looks like for some reason it's not doing it out of the box as it used to do before.

from pigeon.

Ardehal avatar Ardehal commented on June 8, 2024

Can u give me the coding to detect the small thing using camera rpi zero w without using opencv ?

from pigeon.

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.