Skip to content

mgrossu/AutoFocus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoFocus

Project for IZA course at at Faculty of Information Technology, Brno University of Technology

Name and surname: Marius Iustin Grossu

Login: xgross10

Simple app that use the iPhone/iPad camera to detect a face and when a face is detected it focus on it.

Implementation

In this app are used the AVFoundation and Vision libraries from Apple. Using AVFoundation the app gets access to the main (default) camera via the AVCaptureSession() class, which coordinates several inputs like a microphone or camera in several outputs. On startup the user is asked to allow the camera to be used, the permission management for the camera is not implemented, so if the user disables access the application crashes. Subsequently, what the camera captures is displayed on the screen using the AVCaptureVideoPreviewLayer() class. While receiving each frame that the camera captures, it is sent for processing using Vision, which has already implemented face detection algorithms.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages