Hi! My name is Igor Belov and I am iOS Developer.
I am interested in various fundamental computer science topics and like to understand how things work under the hood.
You can reach me using the followings:
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abuseSimple and minimalistic photo picker for iOS written in Swift
Tool that simplifies the localization process for your iOS mobile app
Shell 19
import Accelerate
/// A function for checking two images for similarity.
/// The returned result is the percentage of similarity, where 1 is the result of comparing identical images.
/// The implementation uses Accelerate to speed up similar operations on vectors.
import Accelerate
func calculateHistogram(image: CGImage) -> [[vImagePixelCount]] {
let format = vImage_CGImageFormat(
bitsPerComponent: 8,