Add ability to pass raw image for Azure AI Vision requests

オープン
#755 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
azure, php

調査の方向性

まず、現在の Azure AI Vision のリクエストパスと、リンクされている Analyze Image API のドキュメントを確認してください。issue では、リポジトリ内のファイルもテストも特定されていません。URL リクエストと raw-binary リクエストの要件を比較し、指摘されているパフォーマンス上のトレードオフを評価しながら、ローカルでホストされた画像データのサポートを定義してテストしてください。

索引モデルが issue の本文から書いたものです。

説明

Is your enhancement related to a problem? Please describe.

I bring this up for discussion and not something we need to take action on immediately.

But looking at the API docs for the Azure AI Vision Analyze Image API, you can either send in an image URL (which is what we're doing currently) or you can send in the raw image binary.

The main benefit I see for that second approach is that this API would then work for locally hosted images. Right now if you want to test things, you need a publicly accessible URL, which means either a fully public site or a local environment using something like ngrok.

I don't know if there's any performance concerns with sending the raw image data (maybe it takes longer for that to be downloaded) but probably worth testing out.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
PHP
スター
714
フォーク
68
平均マージ
4時間 32分
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

10up/classifai のほかの issue

10up/classifai の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。