Swift

  • Speech Recognition API (3)

    Swift iOS Xcode
    This is continued article of the previous post. This time, we will finally implement the speech recognition part. Step 9 The method to recognize speech is as below. import UIKit... read more
  • Speech Recognition API (2)

    Swift iOS Xcode
    This is continued article of the previous post. Step 5 Add a label and a button to first view on storyboard. Step 6 Next, load required modules and create a method called when ... read more
  • Speech Recognition API (1)

    Swift iOS Xcode
    Let’s try voice recognition by using “Speech Recognition API” which is released in iOS 10.0. Basically, I’ll explain the following official sample program. SpeakToMe: Using Speec... read more
  • How to use OpenCV in Swift (2)

    Swift OpenCV Xcode
    This is a continuation of my previous post. Step 5 Create a header file to use OpenCV. // OpenCVTest-Briding-Header.h #import <Foundation/Foundation.h> #import <UIKit/UI... read more
  • How to use OpenCV in Swift (1)

    Swift OpenCV Xcode
    I try to use OpenCV library in Swift today. Let’s convert an picture by camera to a black-and-white image. Environment iOS9.3.4 Xcode8.1 (Swift3.0.1) OpenCV (3.1.0.1) St... read more