Book Image

OpenCV for Secret Agents

By : Joseph Howse
Book Image

OpenCV for Secret Agents

By: Joseph Howse

Overview of this book

Table of Contents (15 chapters)
OpenCV for Secret Agents
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing The Living Headlights app


The Living Headlights app will use the following files:

  • LivingHeadlights.py: This contains our application class and its main function. This is a new file.

  • ColorUtils.py: This contains the utility functions to convert colors to different representations. This is a new file.

  • GeomUtils.py: This contains the utility functions for geometric calculations. Create a copy of or link to the version that we used in Chapter 3, Training a Smart Alarm to Recognize the Villain and His Cat.

  • PyInstallerUtils.py: This contains the utility functions for accessing resources in a PyInstaller application bundle. Create a copy of or link to the version that we used in Chapter 3, Training a Smart Alarm to Recognize the Villain and His Cat.

  • ResizeUtils.py: This contains the utility functions for resizing images, including camera capture dimensions. Create a copy of or link to the version that we used in Chapter 3, Training a Smart Alarm to Recognize the Villain and His Cat...