Book Image

iOS Application Development with OpenCV 3

By : Joseph Howse
4 (1)
Book Image

iOS Application Development with OpenCV 3

4 (1)
By: Joseph Howse

Overview of this book

iOS Application Development with OpenCV 3 enables you to turn your smartphone camera into an advanced tool for photography and computer vision. Using the highly optimized OpenCV library, you will process high-resolution images in real time. You will locate and classify objects, and create models of their geometry. As you develop photo and augmented reality apps, you will gain a general understanding of iOS frameworks and developer tools, plus a deeper understanding of the camera and image APIs. After completing the book's four projects, you will be a well-rounded iOS developer with valuable experience in OpenCV.
Table of Contents (13 chapters)
iOS Application Development with OpenCV 3
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

Using the application and acting like a cat


Build ManyMasks and run it on an iOS device. For best results, obey the following guidelines:

  • Work in an area with bright lighting and no shadows.

  • Fill most of the frame with the face so that the image's resolution is not wasted on background areas.

  • Capture an upright image of the face. This is especially important for a cat because our algorithm does not address the problem of locating the eyes and nose in a tilted cat face. To entice a cat to look straight at the camera, you might need to use a toy or treat.

  • Capture a similar expression on the two faces. Like humans, cats have expressive faces, and different cats may develop different expressions as a form of communication with their humans. Here are some examples of my cats' expressions:

    • Wide eyes: Alert or assertive

    • Narrow eyes: Relaxed or submissive

    • Yawn: "Hello, my human."

    • Meow: "Pay attention, my human."

    • Tongue between lips: Paying attention to a scent, possibly a pleasant scent such as "my...