Forzaferrarileo
Posts: 12
Joined: Sun Sep 22, 2013 8:36 am

Rotate rpi camera

Fri Oct 04, 2013 12:46 pm

Hi , I need to rotate the camera module , but the flat doesn't like it :D

there's a way to use normal cable with the camera board?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23309
Joined: Sat Jul 30, 2011 7:41 pm

Re: Rotate rpi camera

Fri Oct 04, 2013 1:31 pm

Can you user -hf or -vf
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

XAPBob
Posts: 91
Joined: Tue Jan 03, 2012 2:40 pm

Re: Rotate rpi camera

Fri Oct 04, 2013 1:58 pm

or -rot

gordon77
Posts: 4108
Joined: Sun Aug 05, 2012 3:12 pm

Re: Rotate rpi camera

Fri Oct 04, 2013 2:20 pm

Can't you rotate the RPi with it ? ;)

User avatar
mad-hatter
Posts: 419
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the UK seaside

Re: Rotate rpi camera

Fri Oct 04, 2013 8:59 pm

Hello,

You can rotate and flip the image when you take the picture,
so it won't matter which way the camera is orientated.
The following command will take a 5 second preview with the picture
rotated 270 degrees and flipped both horizontally and vertically.

raspistill -t 5000 -p 10,10,800,600 -rot 270 -hf -vf -v

Regards

PiGraham
Posts: 3571
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Rotate rpi camera

Fri Oct 04, 2013 9:05 pm

Forzaferrarileo wrote:Hi , I need to rotate the camera module , but the flat doesn't like it :D

there's a way to use normal cable with the camera board?
Coil the flat cable so it will twist.

Yes you can get adaptor boats to connect the camera with twisted pair cable. I have some. If I remember tomorrow I'll post a link to where I bought them.

How are you rotating the camera? Pan side to side? Tilt up and down?

Forzaferrarileo
Posts: 12
Joined: Sun Sep 22, 2013 8:36 am

Re: Rotate rpi camera

Fri Oct 04, 2013 10:26 pm

PiGraham wrote:
Forzaferrarileo wrote:Hi , I need to rotate the camera module , but the flat doesn't like it :D

there's a way to use normal cable with the camera board?
Coil the flat cable so it will twist.

Yes you can get adaptor boats to connect the camera with twisted pair cable. I have some. If I remember tomorrow I'll post a link to where I bought them.

How are you rotating the camera? Pan side to side? Tilt up and down?
First I need to rotate side to side ( tank turret :P )

Return to “Camera board”