Skip to content

iOS 13 will bring a cat and dog detector to the iPhone for third-party photo apps

One of the funniest features of iOS is the creation of smart albums in the Photos app, sorting snapshots by the people in them or where they were taken. Apple wants to take this one step further, and will allow any app to detect dogs and cats .

With iOS 13, the interested developer will have the possibility to add a cat and dog detector to his applications thanks to VNAnimalDetector. It is a function that is part of the Apple Vision framework and, as Cult of Mac account, is very easy to integrate as it is very few lines of code .

iOS 13 will bring a cat and dog detector to the iPhone for third-party photo appsiOS 13 will bring a cat and dog detector to the iPhone for third-party photo apps

In Apple’s example you can see a cat being carried inside a backpack by its owner through a snowy forest. VNAnimalDetector is able to recognize that there is an animal in the photograph, more specifically a cat, and that it is somewhere outside in the snow.

At ApplePrivacy and Machine Learning, Apple’s major innovations in iOS 13 and beyond

The process is carried out using machine learning and can be implemented in iOS as well as in macOS and iPadOS . It does not involve the 3D sensors introduced in the latest iPhone and iPad Pro models, but works on any “flat” image thanks to advanced image recognition.