Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
ARCore ti consente di utilizzare ImageMetadata per accedere alle coppie chiave-valore dei metadati dal
risultato dell'acquisizione di immagini con la fotocamera. Alcuni tipi comuni di metadati delle immagini delle videocamere
che potresti voler accedere sono: lunghezza focale, dati timestamp dell'immagine o illuminazione
informazioni.
Il modulo Camera per Android può registrare almeno 160 parametri relativi all'immagine
per ogni fotogramma acquisito, in base alle funzionalità del dispositivo. Per un elenco di tutte
possibili chiavi di metadati, consulta ImageMetadata.
Visualizzare il valore di una singola chiave di metadati
Utilizza getImageMetadata()
per ottenere una coppia chiave-valore specifica dei metadati e rilevare il MetadataNotFoundException
se non sono disponibili. L'esempio seguente mostra come ottenere il
Valore chiave dei metadati SENSOR_EXPOSURE_TIME.