One of the first things I did when I got the Pi configured was connect to it over RealVNC and try to fire up the camera.
The built-in raspistill utility will not be mirrored over RealVNC, since it renders directly to GPU.
However the QV4L2 utility will work fine, it will render video from the Pi Cam to a window, and it can be mirrored over RealVNC. It has a bunch of handy settings, including vertical flip of the camera image.
Try this:
sudo apt-get install qv4l2
sudo modprobe bcm2835-v4l2
qv4l2
If you want to permanently add the bcm2835-v4l2 driver, edit /etc/modules and add "bcm2835-v4l2" to the file. The camera driver module will be installed at boot time.
Camera mirror over RealVNC
-
- Posts: 75
- Joined: Fri Jan 26, 2018 5:03 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Camera mirror over RealVNC
This is another reason I use OpenCV. The OpenCV windows display the camera contents (stills AND video) over VNC.
I believe it does this by doing what you did, but behind the scenes as part of their package.
In Python I use the picamera and cv2 packages for anything relating to the camera... because the cv2 stuff hooks me into all kinds of computer vision goodies.
-Erik
I believe it does this by doing what you did, but behind the scenes as part of their package.
In Python I use the picamera and cv2 packages for anything relating to the camera... because the cv2 stuff hooks me into all kinds of computer vision goodies.
-Erik
----------
Erik S. Bailey
Entry, Descent, and Landing Aerospace Engineer
Maker, and Musician
SpiritRover Kickstarter Backer #460
Erik S. Bailey
Entry, Descent, and Landing Aerospace Engineer
Maker, and Musician
SpiritRover Kickstarter Backer #460
Who is online
Users browsing this forum: No registered users and 16 guests