Camera upside down?

The more technical aspects of Spirit, and carry-over discussion from Kickstarter updates.
[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
gpvillamil
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

Camera upside down?

Postby gpvillamil » Tue Jan 30, 2018 5:33 pm

Got everything hooked up, trying out the camera. I followed the instructions exactly, with the ribbon cable at the top.

However, when firing up raspistill or qv4l2, the image is displayed upside down!

Is this something I can change in settings, or should I just reinstall the camera?

User avatar
esba1ley
Posts: 58
Joined: Sun Jan 01, 2017 2:15 am
Location: Pasadena, CA
Contact:

Re: Camera upside down?

Postby esba1ley » Wed Jan 31, 2018 6:07 am

if you're using raspivid or raspistill, use -vflip -hflip options.

I use OpenCV 3.4, and I have to send equivalent flip commands via my python scripts.
----------
Erik S. Bailey
Entry, Descent, and Landing Aerospace Engineer
Maker, and Musician
SpiritRover Kickstarter Backer #460


[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
[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

Who is online

Users browsing this forum: No registered users and 27 guests