This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SaliencyDetector.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 15/3/20. | |
// Copyright © 2020 Aung Ko Min. All rights reserved. | |
// | |
import Foundation | |
import Vision |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SaliencyDetector.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 15/3/20. | |
// Copyright © 2020 Aung Ko Min. All rights reserved. | |
// | |
import Foundation | |
import Vision |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SpinningView.swift | |
// BalarSarYwat | |
// | |
// Created by Aung Ko Min on 10/2/20. | |
// Copyright © 2020 Aung Ko Min. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftyTesseract.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 20/11/19. | |
// Copyright © 2019 Aung Ko Min. All rights reserved. | |
// | |
struct RecognitionQueue<T: Hashable> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// StringTracker.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 24/11/19. | |
// Copyright © 2019 Aung Ko Min. All rights reserved. | |
// | |
import Foundation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Tools { | |
private class func min(numbers: Int...) -> Int { | |
return numbers.reduce(numbers[0]) {$0 < $1 ? $0 : $1} | |
} | |
class Array2D { | |
var cols:Int, rows:Int | |
var matrix: [Int] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIImageColors.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 13/1/20. | |
// Copyright © 2020 Aung Ko Min. All rights reserved. | |
// | |
#if os(OSX) | |
import AppKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DroupDownMessageBar.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 19/12/19. | |
// Copyright © 2019 Aung Ko Min. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftUIView.swift | |
// Myanmar Lens | |
// | |
// Created by Aung Ko Min on 13/1/20. | |
// Copyright © 2020 Aung Ko Min. All rights reserved. | |
// | |
import SwiftUI |