-
Notifications
You must be signed in to change notification settings - Fork 694
Vision Bonnet Camera not working #224
Comments
Joy Demo service starts automatically when Pi boots. It should be already working in you case, could you check with In order to run other examples you probably need to stop and disable this service:
|
Hi Dimitri, Thanks for the followup. The service is not running because the 'Camera is not running' per: sudo systemctl status joy_detection_demo.service and my error log above. When I connect the camera directly into the Pi 0 W (without the Vision Bonnet), the camera works ok. When I connect the camera to the Vision Bonnet, I get 'Camera is not running'... |
According to your log, you are trying to manually run Can you please reboot the Pi and right after that run In addition, it would be very helpful if you run |
Hi Dimitri, See below: Jan 02 12:36:13 raspberrypi systemd[1]: Started AIY Joy Detection Demo. dmesg: pi@raspberrypi:~ $ dmesg |
Dimitri - that was right after a reboot and no other manual commands. Anno |
Perfect, thank you! Looks like you connected camera cables in a wrong way. Most likely this is the cable between Pi and Vision Bonnet. You should be able to see contact pads from both sides (if look from top and from the bottom to the whole assembly). Can you please attach a photograph? Just in case, please also verify connection between Vision Bonnet and Camera. In this case you shouldn't see contact pads from the top (it's opposite to the short cable between Vision Bonnet and Pi). |
That looks correct. Can you also verify connector on the Camera side? (most likely it's correct, otherwise camera plugged in directly to the Pi wouldn't work). What's the Camera module version by the way? We only support V2 for now. |
Yep, that seems to be a 5MP camera. Check this image, it has the same label as yours on the flex + "Rev 1.3" label. For now we have only support for official Camera V2: https://www.raspberrypi.org/products/camera-module-v2/ |
Yes, that's it. Totally missed that in the instructions..... Thank you for the attention and help on this! Off to go get a v2 camera now ... |
Sure, no problem! We'll improve error reporting mechanism, so it would be easier to detect. Let us know how everything goes with V2. |
Do you know if there'll be an issue with the: https://www.raspberrypi.org/products/pi-noir-camera-v2/ (For low light applications) |
Pi Camera NoIR V2 should technically work because it's the same sensor as Pi Camera V2 but our internal ISP pipeline is not optimized for it. |
ok, thank you, I'll stick with tried and true.. |
Just an update... I installed the V2 camera and everything runs well - including all the demos. |
Good to know, thanks for the update! Closing issue now. |
@dmitriykovalev hey, guy, will you intend to figure out a way to support V1.3 camera in the future? thanks |
@sainttelant V2.1 and V1.3 have different sensors (Sony vs OmniVision). Our internal processing is heavily optimized for V2.1 sensor. We have experimental code which can work with V1.3 but inference quality is worse. For now there are no plans to make it official. |
@dmitriykovalev |
@santhoshnp check that your camera is proper connected physically. |
I also have one doubt in joy detector, |
@santhoshnp One thing you can try is to connect your camera directly with PI0 (Where short flex is connected currently). Then run the command "raspistill -o output.jpg" and check if camera is working. By default joy_detection is enabled and make sure you stop it by running the command "sudo systemctl stop joy_detection_demo" |
@manoj bro camera is working well in pi0 but camera is not enabling in vision bonnet i don't why. |
@santhoshnp check camera connector latches for short flex cable (Pi board and Vision Bonnet board), they must be locked (not loose). |
@dmitri |
any one help me how to update raspistill camera app v1.3.11 why because i am using v2.1 raspistill Camera App v1.3.11 Width 2592, Height 1944, quality 85, filename (null) Preview Yes, Full screen Yes |
@santhoshnp check flex connectors. |
Hi, I bought vision kit version 1.1. Normal Raspberry pi zero w boots fine. Once connected MIPI flat flex cable to Raspberrypi zero w board is not booting. https://aiyprojects.withgoogle.com/vision-v1/ Please help me. |
Hi, I bought vision kit version 1.1. Normal Raspberry pi zero w boots fine. Once connected MIPI flat flex cable to Raspberrypi zero w board is not booting. https://aiyprojects.withgoogle.com/vision-v1/ Please help me. |
Answer to post Pi Camera NoIR V2 does not work. |
@dmitriykovalev, have you tried the Pi Camera NoIR V2? According to @magdesign it does not work. Has anyone tried it? Thanks! |
Running on a Pi 0 W V1.1, but the camera won't connect.
The camera works when I connect it directly to the Pi 0 W, it works fine:
[ 23.968383] googlevisionbonnet spi0.0: Initializing
[ 24.424624] googlevisionbonnet spi0.0: Resetting myriad on probe
[ 24.424641] googlevisionbonnet spi0.0: Resetting myriad
[ 28.343088] googlevisionbonnet spi0.0: Writing myriad firmware
[ 34.492645] googlevisionbonnet spi0.0: Myriad booting
[ 34.712593] googlevisionbonnet spi0.0: Myriad ready
(env) pi@raspberrypi:~ $
~/AIY-projects-python/src/examples/vision/joy/joy_detection_demo.py
Starting JoyDetector...
ERROR:root:Camera is not running.
ERROR:root:CameraInference: Camera inference is not running.
ERROR:root:StopCameraInference: Camera inference is not running.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/pi/AIY-projects-python/src/examples/vision/joy/joy_detection_demo.py",
line 127, in _run_detector
faces = face_detection.get_faces(result)
File "/home/pi/AIY-projects-python/src/aiy/vision/models/face_detection.py",
line 63, in get_faces
assert len(result.tensors) == 3
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/AIY-projects-python/src/examples/vision/joy/joy_detection_demo.py",
line 138, in _run_detector
break
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 758,
in exit
self.close()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 752, in close
raise exc
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 1995,
in _control_callback
"No data recevied from sensor. Check all connections, "
picamera.exc.PiCameraRuntimeError: No data recevied from sensor. Check
all connections, including the SUNNY chip on the camera board
Are there any diagnostics I can run?
The text was updated successfully, but these errors were encountered: