I was following "Using a standard USB webcam" - https://www.raspberrypi.org/documentati ... /README.md.
When editing crontab script:
Code: Select all
* * * * * /home/pi/webcam.sh 2>&1Code: Select all
* * * * * /home/pi/webcam/webcam.sh 2>&1Thanks.
Code: Select all
* * * * * /home/pi/webcam.sh 2>&1Code: Select all
* * * * * /home/pi/webcam/webcam.sh 2>&1Creating a pull request is optional. It's OK to just submit an issue for a problem.joan wrote:I think you are expected to fork the page on github, edit the page, and then submit the new page for approval.
Create an issue on the documentation Github page at https://github.com/raspberrypi/documentationseyoung wrote:I didn't know where to submit this so I post it here.
ktb wrote:It doesn't necessarily seem to be a mistake/error. The instructions do not tell you whether to create the webcam.sh file in /home/pi/ or in /home/pi/webcam/.
I would say that's actually *does* tell you to create it in the subdir.BASH SCRIPT
You can write a Bash script which takes a picture with the webcam. The script below saves the images in the /home/pi/webcam directory, so create the webcam subdirectory first with:
mkdir webcam
To create a script, open up your editor of choice and write the following example code:
That's much easier, but it still requires users to be familiar with github. Perhaps the View/Edit this page on GitHub button could be replaced to a link to the issues button. However don't you still need a github account? These are all barriers.DirkS wrote:Creating a pull request is optional. It's OK to just submit an issue for a problem.joan wrote:I think you are expected to fork the page on github, edit the page, and then submit the new page for approval.
Well, then I suppose you have a more creative mind than I do.DirkS wrote:ktb wrote:It doesn't necessarily seem to be a mistake/error. The instructions do not tell you whether to create the webcam.sh file in /home/pi/ or in /home/pi/webcam/.I would say that's actually *does* tell you to create it in the subdir.BASH SCRIPT
You can write a Bash script which takes a picture with the webcam. The script below saves the images in the /home/pi/webcam directory, so create the webcam subdirectory first with:
mkdir webcam
To create a script, open up your editor of choice and write the following example code:
They should have added a 'cd webcam' command though.
Reading the instructions again, I think you're right. It's just the images that go in the subdir, not the script.ktb wrote:Well, then I suppose you have a more creative mind than I do.