Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
OpenCV for Secret Agents

You're reading from  OpenCV for Secret Agents

Product type Book
Published in Jan 2015
Publisher Packt
ISBN-13 9781783287376
Pages 302 pages
Edition 1st Edition
Languages
Author (1):
Joseph Howse Joseph Howse
Profile icon Joseph Howse

Table of Contents (15) Chapters

OpenCV for Secret Agents
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Preparing for the Mission 2. Searching for Luxury Accommodations Worldwide 3. Training a Smart Alarm to Recognize the Villain and His Cat 4. Controlling a Phone App with Your Suave Gestures 5. Equipping Your Car with a Rearview Camera and Hazard Detection 6. Seeing a Heartbeat with a Motion Amplifying Camera 7. Creating a Physics Simulation Based on a Pen and Paper Sketch Index

Testing The Living Headlights app in a car


While choosing the hardware for our setup in a car, we must consider two questions:

  • Can the car's outlets power the hardware?

  • Can the hardware fit conveniently in the car?

A Raspberry Pi draws power via its micro USB port. It needs a 5V, 700mA power source. We can satisfy this power requirement by plugging a USB adapter into the car's cigarette lighter receptacle and then connecting it to the Raspberry Pi via a USB to micro USB cable, as seen in the following image:

Note

Normally, the cigarette lighter receptacle is a 12V power source, so it can power a variety of devices via an adapter. You could even power a chain of devices, and Raspberry Pi need not be the first device in the chain. Later in this section, we will discuss the example of Raspberry Pi drawing power from a 5V outlet on an HDMIPi display, which is in turn drawing power from a cigarette lighter receptacle via an adapter.

Standard USB peripherals, such as a webcam, mouse, and keyboard, can...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}