Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
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

Creating Unity assets and adding them to the scene


Custom properties and behaviors in a Unity project are defined through various types of files that are generically called Assets. Our project has four remaining questions and requirements that we must address by creating and configuring assets:

  1. What is the appearance of the surfaces in the scene—namely, the video feed, the detected circles and lines, and the simulated balls and lines? We need to write Shader code and create Material configurations to define the appearance of these surfaces.

  2. How bouncy are the balls? We need to create a Physics Material configuration to answer this all-important question.

  3. Which objects represent a simulated ball and simulated line? We need to create and configure Prefab objects that the simulation can instantiate.

  4. How does it all behave? We need to write Unity Scripts—specifically, code that subclasses a Unity class called MonoBehaviour—in order to control objects in the scene at various stages in their life...

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}