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.
Install CocoaPods
Import the Octopus-iOS pod by adding the following line to the project's
Podfile
:
- 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
- Before building the demo app, run the following to install the Octopus Speech-to-Index CocoaPod:
Replace
"${YOUR_ACCESS_KEY_HERE}"
inside theViewModel.swift
file with your AccessKey obtained from Picovoice Console.Open
OctopusDemo.xcworkspace
and run the demo.
For more information on our Octopus Speech-to-Index demo for iOS, head over to our Github repository.