搜尋套件、儲存庫與 APP 分類

套件詳情v2.0.2

acr_cloud_sdk

這是一個非官方的 ACR Cloud SDK,用於在 Flutter 中識別聲音和音樂

AndroidiOSmacOS
近 30 天下載
125
喜歡數
31
Pub 分數
130

安裝套件

flutter pub add acr_cloud_sdk

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

ACR Cloud SDK 是一個非官方的 Flutter 套件,可在 Flutter 應用中實現聲音與音樂辨識。它利用 ACR Cloud 強大的音訊指紋技術,即時辨識歌曲、音訊內容與媒體。此 SDK 兼容 Android、iOS 與 macOS,讓開發者能以最少設定將強大的音訊辨識功能整合至應用程式中。該套件透過提供呼叫 ACR Cloud API 的乾淨 Dart 界面,簡化了整合過程。非常適合用於音樂探索、音訊標記或互動式媒體體驗。

適用情境

  • 應用中的音樂識別
  • 音頻內容標記
  • 互動媒體體驗
  • 即時聲音識別
  • 媒體元數據檢索

主要特色

  • 即時音訊辨識
  • 跨平台支援(Android、iOS、macOS)
  • 簡單的 Dart API
  • 非官方但功能完整的實現
  • 與 ACR Cloud 雲服務的整合

適合對象

  • 音樂發現應用
  • 基於音訊的搜尋工具
  • 互動娛樂應用
  • 教育類音頻應用
  • 需要媒體識別的應用程式

使用建議

  • 非官方 SDK – 可能需要更新以適應 ACR Cloud API 的新變更
  • 需要互聯網連接以進行識別
  • 依賴外部ACR Cloud服務
  • 識別結果可能有延遲
  • 與官方 SDK 相比,文件有限

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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.

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案