Go
Go SDK installation and usage
Obtain SDK
Adding dynamic libraries
1. Add the path where the dynamic library is located to the environment variable (temporary)
2. Place the dynamic library in the same directory as your generated go binary program (temporary)
3. Adding dynamic libraries to the system (permanently)
Use go get to get the SDK
Initialization
Method
RecognizeByFile(filePath string, startSeconds int, lenSeconds int, userParams map[string]string)
RecognizeByFileBuffer(data []byte, startSeconds int, lenSeconds int, userParams map[string]string)
RecognizeByFpBuffer(data []byte, startSeconds int, lenSeconds int, userParams map[string]string)
GetDurationMsByFile(filePath string)
GetDurationMsByFpBuffer(fpBufferData []byte)
Last updated