Submitted by cocoda74 on Sun, 08/28/2016 - 17:38
Hello
If i check the Raspberry Pi camera with following command:
raspistill -d
i don't see the image from the camera on the monitor for a few seconds.
Also i don't get an error messages instead.
I use the Raspberry Pi 5MP Camera-Module
piborg
Sun, 08/28/2016 - 21:12
Permalink
Camera problems
Most of the time when we have problems the cable is not connected correctly.
I would double check that both ends are:
If that does not help I would suggest working through the official camera troubleshooting:
https://www.raspberrypi.org/documentation/raspbian/applications/camera.md
cocoda74
Tue, 08/30/2016 - 16:28
Permalink
New Camera, No Picture yet
See the Attachement
piborg
Tue, 08/30/2016 - 18:30
Permalink
Result file?
Does the result file
test.jpg
exist?If it does can you see if it is an image from the camera.
If it is then everything is working correctly.
cocoda74
Tue, 08/30/2016 - 19:05
Permalink
Where is that file stored.
Where is that file stored.
Can i find it with SSH?
Sorry, i am a noob...:)
Another Questiion:
Is there still a Problem with Script Running over SSH?
https://www.piborg.org/node/2005
piborg
Tue, 08/30/2016 - 19:29
Permalink
Camera output
The camera output will have been saved to:
~/test.jpg
.Viewing via SSH may prove more difficult however, maybe copy the file to a USB stick?
There should not be a problem running the script via SSH, the problem in that post was a misunderstanding about
sudo
.I would try running the WebUI script and see if it works.
This will skip the need to check the file if everything is okay.
cocoda74
Tue, 08/30/2016 - 20:40
Permalink
Hello
Hello
Thanks a lot. I installed VNC so i find the Picture!
The WebUI Script i will test tomorrow...
Is it possible to show the percentage of the Battery?
cocoda74
Wed, 08/31/2016 - 08:15
Permalink
WebUi without image stream!
Hy
Making pictures is ok but i dont receive a image stream on the WebUI!
piborg
Wed, 08/31/2016 - 11:19
Permalink
Standard version of the code
I presume you are still using the modified version of the Web UI from this post:
https://www.piborg.org/comment/4101#comment-4101
If that is the case then the version you are using has the camera image removed.
You should remove this version and use the original copy of the script.
If you followed the instructions here: https://www.piborg.org/diddyborg/webui
then the original script should be run using this command:
sudo ~/diddyborg-web/diddyWeb.py
cocoda74
Wed, 08/31/2016 - 12:03
Permalink
Hy
Hy
No, i am mot using the modified version!
I still folowed the instructions and use the original script...
piborg
Wed, 08/31/2016 - 13:12
Permalink
No image from Web UI
That is rather odd.
Can you take a screenshot of what you are seeing?
cocoda74
Wed, 08/31/2016 - 14:50
Permalink
Hello
Hello
The Diddyborg is connected on Wifi, the PC on the same Wifi
The onboard BT and Wifi is disabled, i use for Wifi and BT USB Dongles!
The second Picture is with a other Wifi Access...
piborg
Wed, 08/31/2016 - 15:08
Permalink
Strange message
There is an unexpected message in that log:
/usr/lib/python2.7/dist-packages/picamera/encoders.py:545: PiCameraResolutionRounded: frame size rounded up from 240x180 to 240x192
This is probably a bad thing, I would suggest changing the image size to match the correction.
To do this change the line
to
This might fix the black screen you are seeing.
cocoda74
Wed, 08/31/2016 - 16:02
Permalink
Image Height
No improvement
piborg
Wed, 08/31/2016 - 16:08
Permalink
Image trouble
I am not really sure what the problem actually is here.
It looks like an image is being fetched, but it is blank.
What do you see if you visit this URL:
http://10.220.97.27/cam.jpg
cocoda74
Wed, 08/31/2016 - 16:12
Permalink
This
This
piborg
Wed, 08/31/2016 - 16:33
Permalink
Missing image
I can only guess that the script is unable to read an image from the camera for some reason.
Can you try this command:
raspistill -w 240 -h 192 -o check.jpg
What does check.jpg look like?
cocoda74
Wed, 08/31/2016 - 17:26
Permalink
see
see
piborg
Wed, 08/31/2016 - 18:51
Permalink
Camera libraries
Can you run these commands to get the libraries the script needs to see the camera:
sudo apt-get -y install python-picamera
sudo apt-get -y install libcv-dev libopencv-dev python-opencv
then restart the Pi.
After that try the Web UI again and see if it works now.
cocoda74
Wed, 08/31/2016 - 19:09
Permalink
Still no picture
Still no picture!!!
I think to new install all (Raspian and all Scripts for the DiddyBorg)
Or do you have another Idea?
piborg
Wed, 08/31/2016 - 19:20
Permalink
Clean install
I think a clean install is probably the quickest way to get things going.
Let us know if that solves the problem.
cocoda74
Thu, 09/01/2016 - 06:19
Permalink
Clean Install not solved the Problem
Hy
So i had very long for the clean install and the install of the diddyBorg software!
The Problem with "no Picture" is still here...
At the Moment im very frustrated, what do I wrong or is it a bug in the script???
Could it be something with the Wifi, Internet, Portforwarding or something like that?
I use an open Wifi Connection wth the Laptop as Hotspot (Connectify) or i use my Sony Z5 Premium as 3G Hotspot...
It s only the Picture, Video Streaming who doesn`t funktion...
piborg
Thu, 09/01/2016 - 11:11
Permalink
Camera trouble
The most likely cause is that the
picamera
library we are using is not handling the camera module correctly.Can you try updating the software on the Pi using:
cocoda74
Thu, 09/01/2016 - 13:26
Permalink
All Repeated with out success...
Hy
After the Cleaninstall i repeated every try of this thread, but i have still noch Picture on the WebUI...
piborg
Thu, 09/01/2016 - 13:33
Permalink
Really confused
I am really confused now, you should not really be having this much trouble :(
Can you try doing a complete update with this command:
sudo rpi-update
cocoda74
Thu, 09/01/2016 - 16:41
Permalink
Attachement
Hy
I attached the download only for Information!
The Test i will do in the next hour...
cocoda74
Thu, 09/01/2016 - 16:45
Permalink
AMAZING....It works
Hy
IT works, thats so great...
Thank you very very much for your Help
piborg
Thu, 09/01/2016 - 17:26
Permalink
Great :)
I am happy to hear that it is working correctly now.
I can only guess that the code running the camera needed to be updated fully to work.