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.