acr_cloud_sdk
這是一個非官方的 ACR Cloud SDK,用於在 Flutter 中識別聲音和音樂
🎵 🎶 ACR Cloud SDK for Flutter
{"sdk":"flutter"}^10.2.0{"sdk":"flutter"}any以下為英文專案原文快照,最新內容請造訪 GitHub。
** This is an unofficial SDK for flutter
Automatic content recognition (ACR) is an identification technology to recognise content played on a media device or present in a media file. This enables users quickly obtain detailed information about the content they have just experienced without any text based input or search efforts.
ACR can help users deal with multimedia more effective and make applications more intelligent. More info.
https://github.com/Zfinix/acr_cloud_sdk/blob/main/1.png?raw=true https://github.com/Zfinix/acr_cloud_sdk/blob/main/2.png?raw=true https://github.com/Zfinix/acr_cloud_sdk/blob/main/3.png?raw=true
final AcrCloudSdk arc = AcrCloudSdk();
arc..init(
host: '', // obtain from https://www.acrcloud.com/
accessKey: '', // obtain from https://www.acrcloud.com/
accessSecret: '', // obtain from https://www.acrcloud.com/
setLog: false,
)..songModelStream.listen(searchSong);
void searchSong(SongModel song) async {
print(song); // Recognized song data
}
Initialize sdk and listen for song recognition events.
bool started = await arc.start();
bool started = await arc.stop();
Lots of PR's would be needed to improve this plugin. So lots of suggestions and PRs are welcome.