Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Zfinix/acr_cloud_sdk

Repository files navigation

ACR Cloud SDK

** 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.

πŸ€” How ACR works

ACR can help users deal with multimedia more effective and make applications more intelligent. More info.

πŸ“Έ Screen Shots

πŸš€ Initialize SDK

 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.

️🎢 Start Recognition

 bool started = await arc.start();
  • This function will automatic start the recording and recognizing process.
  • When there’s a result, songModelStream & resultStream will return the data as events.
  • The whole recognition time is controlled by ACRCloud’s Server.
  • You can call the stop function to terminate this process.

β›” Stop Recognition

 bool started = await arc.stop();
  • This function will cancel the recognition immediately.

✨ Contribution

Lots of PR's would be needed to improve this plugin. So lots of suggestions and PRs are welcome.

About

🎡 🎢 ACR Cloud SDK For flutter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /