簡體   English   中英

圖片相似度 - Firebase ML Vision 還是有其他包?

[英]Picture similarity - Firebase ML Vision or are there other packages?

我想在 Flutter 中構建一個小部件,用於比較用戶拍攝的兩張圖片的相似度。

例如

勃蘭登堡門 1 勃蘭登堡門 2

我測試了這個服務: https://deepai.org/machine-learning-model/image-similarity

我開始在 Google Vision Package https://pub.dev/packages/firebase_ml_vision中使用圖像標簽

我仍然不確定這些是否是最好的方法,是否有不同的方法?

謝謝約爾格

AFAIK,沒有特定的谷歌雲平台 API 。
您可以嘗試使用Vision API 的 ProductSearch ,盡管它不適用於您的用例,而且我不確定它是否適合它。

您需要的是圖像嵌入
You can achieve it with a custom image classification model without the softmax function so instead of giving you a label probability, the model will output a feature vector representation of the input image. 該特征向量可用於相似性匹配任務,因為它只是一個數字數組。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM