Make a camera that recognizes animals and shoots automatically

Create a function to automatically release the shutter when a dog or cat appears in the frame.

Apple’s Vision framework has an animal recognition computer vision request.
The request result determines if there is an animal in the frame and sets it to take a picture.

Within the captureOutput delegate method, execute the above request and parse the frame.

Using other requests in the same way, you can recognize humans and arbitrary objects and take pictures.
Observation also includes a Bounding Box that shows the location of dogs and cats, so you can also autofocus on it.


We send information related to machine learning.


Request for work:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store