Swift – Native OCR reader

Starting from iOS 11, Apple introduces a new framework called Vision.

The Vision framework performs face and face landmark detection, text detection, barcode recognition, image registration, and general feature tracking. Vision also allows the use of custom Core ML models for tasks like classification or object detection.

https://developer.apple.com/documentation/vision

Today we implement with few lines of code one of the simplest features of this beautiful framework, the OCR reader.

Continue reading “Swift – Native OCR reader”

Insects Hunter – AR shooter for iOS

Today I want to tell you what happened on my latest iOS game released, “Insects Hunter – AR Shooter“… and why the insects?

Before starting, download it from App Store (it’s free for a couple of months!

Insects Hunter – AR Shooter

I started the development of this simple game during the quarantine, the scope was to kill all the COVID-19 viruses that appear around your photo-camera.

Continue reading “Insects Hunter – AR shooter for iOS”

Track GPS position with iOS app killed

I want to share a simple how-to, used to get the GPS position of an iOS user with the app completely closed, in the background, and in the foreground without using any useless workaround like idle timer and background operations…

We discuss about the GEO-fence tecnique. You can read more on Apple reference:

https://developer.apple.com/documentation/corelocation/monitoring_the_user_s_proximity_to_geographic_regions

Continue reading “Track GPS position with iOS app killed”

How to make (and read) an animated newspaper

Today I want to present a small project with a lot of potentialities, an animated newspaper.

Using the ARKit framework from Apple, I’ll show you how to play a video while passing on the newspaper pages with your camera!


The used newspapers

The scope of this project is to overlap a defined image on the newspaper with a video, for a better experience while reading the news.

Continue reading “How to make (and read) an animated newspaper”

Swift – Recognize spoken text using Siri

A draft of SpeechManager.swift, that recognize the spoken text using Siri.

It use the Apple Speech framework (https://developer.apple.com/documentation/speech):

Perform speech recognition on live or prerecorded audio, receive transcriptions, alternative interpretations, and confidence levels of the results.

Continue reading “Swift – Recognize spoken text using Siri”

ARKit – Measure distances with augmented reality

Today a tutorial about augmented reality, in particular the use of the new Apple framework, ARKit, to measure distances between two points in a 3D virtual space.

Final result: ‹26 cm distance between the two green points.
Continue reading “ARKit – Measure distances with augmented reality”