Octopus Speech-to-Index
iOS Quick Start
Platforms
- iOS (13.0+)
Requirements
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your AccessKey
.
Make sure to keep your AccessKey
secret.
Quick Start
Setup
Install Xcode.
Import the Octopus-iOS package into your project.
To import the package using SPM, open up your project's Package Dependencies in XCode and add:
To import it into your iOS project using CocoaPods, add the following line to your Podfile:
Then, run the following from the project directory:
Usage
Create an instance of Octopus Speech-to-Index
:
Index an audio file by passing in the absolute path to the file:
Search audio using the generated metadata object:
Free resources used by Octopus Speech-to-Index
:
Demo
For the Octopus Speech-to-Index iOS SDK, we offer a demo application that demonstrates how to use the Speech-to-Index engine on audio recordings.
Setup
Clone the Octopus Speech-to-Index repository from GitHub using HTTPS:
Usage
Replace
"${YOUR_ACCESS_KEY_HERE}"
inside theViewModel.swift
file with your AccessKey obtained from Picovoice Console.Open
OctopusDemo.xcodeproj
in XCode and run the demo.
For more information on our Octopus Speech-to-Index demo for iOS, head over to our GitHub repository.