girish_mohan
Posts: 1
Joined: Thu Jun 14, 2018 9:03 am

CAMERA AS A REAR-VIEW MIRROR

Thu Jun 14, 2018 9:31 am

Hello everyone,
I'm would like to build a rear-view system with the help of Raspberry Pi 3 Model B and a camera. I would be glad if you guys could offer insights.
The camera will be mounted above the trunk and the RPi beneath the dashboard with a 10 inch screen to display the live feed. I'm confused as to which camera I should go with as I'm new to this territory. I don't want the feed to be blurred even at high speeds (okayish feed is cool, not necessarily HD). So, can you please suggest a suitable camera module for doing this? Will the V2 be good enough? And please do provide a link for purchasing the cable connector for camera to RPi as the one accompanying the module will be too short for truck to dashboard.

Thanks in advance for helping out.

- Girish.

User avatar
HermannSW
Posts: 1246
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: CAMERA AS A REAR-VIEW MIRROR

Thu Jun 14, 2018 12:34 pm

girish_mohan wrote:
Thu Jun 14, 2018 9:31 am
The camera will be mounted above the trunk and the RPi beneath the dashboard with a 10 inch screen to display the live feed. I'm confused as to which camera I should go with as I'm new to this territory. I don't want the feed to be blurred even at high speeds (okayish feed is cool, not necessarily HD). So, can you please suggest a suitable camera module for doing this? Will the V2 be good enough?
Definitely possible with v2 camera. I only have 640x480 videos, but both at 180fps which is more than you need on your display. Both videos were taken from running train along river Neckar, the second video at speed of 100km/h as can be deduced from the car staying at same place in frame and Germany 100km/h road limit. You can decide best whether this is OK for you (in general you can reduce blur by reducing shutter time):
https://www.youtube.com/watch?v=kGrx1gDBa04
https://www.youtube.com/watch?v=m-uXW_jGiRU

And please do provide a link for purchasing the cable connector for camera to RPi as the one accompanying the module will be too short for truck to dashboard.
There are (arbitrarily) many length available. Some people warn to use cables longer than 15cm, but I use 15/30/100/200cm cables without issues. Just search for "raspberry camera cable" on amazon.com or aliexpress.com.
bookmark list: https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://github.com/Hermann-SW/fork-raspiraw
https://github.com/Hermann-SW/userland
https://twitter.com/HermannSW

User avatar
Z80 Refugee
Posts: 358
Joined: Sun Feb 09, 2014 1:53 pm

Re: CAMERA AS A REAR-VIEW MIRROR

Thu Jun 14, 2018 9:34 pm

Is this a fun project or a serious requirement? If the latter, just go and buy a commercial reversing camera system - it won't work out any more expensive.
Military and Automotive Electronics Design Engineer (retired)

For the best service: make your thread title properly descriptive, and put all relevant details in the first post (including links - don't make us search)!

SinAcedia
Posts: 5
Joined: Tue Apr 16, 2019 9:23 pm

Re: CAMERA AS A REAR-VIEW MIRROR

Tue Apr 16, 2019 10:00 pm

I've been thinking of building a replacement for my rearview mirror. Trying to find a rearview mirror shaped dumb touch screen monitor ... with two way mirror, so works as normal mirror when turned off.

And using two good Sony wide angle cameras, one for front and rear. And hide them behind window tinting. And attach strong polarizing lenses to cut down all glare & reflections.

My goal is to make it look as close to stock.

To have it record if anyone messes with my car when parked. And have it connect to Xfinity wifi, saving video local and on google drive cloud storage. I'm in Philadelphia, the city is covered by Xfinity wifi hotspots.

And both cameras record when I'm driving, to have something to show the judge and insurance...

... I remember decades ago, a car stopping for traffic light, idiot was on the pedestrian crossing lines of paint, so they backed up ... light turns green and they floored it, straight backwards into the car behind them ... in court they claimed they were hit while stopped waiting at the red light. The guys behind got screwed.

jpf11
Posts: 1
Joined: Thu Jun 20, 2019 3:58 pm

Re: CAMERA AS A REAR-VIEW MIRROR

Thu Jun 20, 2019 4:15 pm

I have this set up in my race car
Pi 3 B+
v2.1 camera
CSI to HDMI converters (I have the pi up in the middle of the car, and the camera at the rear with a long HDMI cable)
7" 1920x1200 screen (I use it for other things, it's overkill for just this).
raspivid for video overlay.

Right now I have the camera coming online at around 11 seconds. That's about as optimized as I felt like getting it.

tips:
- You can use a pi zero if you're only using it for a rear camera. Right now my pi zero w test unit comes online at the exact same time, 11 seconds. It has a lot more disabled though. Network services, ssh, dhcpd, and autologs into a command line rather than the LXDE gui.
- Suggest once you're done setting it you mount the root drive in r/o to avoid SD card corruption, unless you plan on adding some power management. I personally use a Mausberry Circuits car switch but I have need for a controlled shutdown on my pi as it runs other software that doesn't like power being suddenly cut. A rearview cam system wouldn't car much.
- I don't have my settings handy but for raspivid you can just run it as a service, or out of rc.local, or whatever. Make sure to invert horizontally to get the "mirror" effect. I think I remember settings like the resolution, unlimited time, sport...

Image

Image

Return to “Camera board”