Add ability to pass raw image for Azure AI Vision requests

Aperta
#755 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
azure, php

Direzione di ricerca

Esamina innanzitutto il percorso attuale delle richieste di Azure AI Vision e la documentazione collegata di Analyze Image API; nell’issue non sono identificati file del repository né test. Confronta i requisiti delle richieste tramite URL e delle richieste con dati binari grezzi, quindi definisci e testa il supporto per i dati delle immagini ospitati localmente, valutando al contempo i compromessi prestazionali indicati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
PHP
Stelle
714
Fork
68
Merge medio
4h 32m
PR unite (30g)
23

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di 10up/classifai

Tutte le issue di 10up/classifai

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.