How to extract the DateTime info of an image using Matlab?

9 vues (au cours des 30 derniers jours)
Cristel Esmerna
Cristel Esmerna le 24 Fév 2022
Commenté : Les Beckham le 25 Fév 2022
I'm using the info.DateTime extension but it isn't working. Below are the screenshots of my work. Can someone help me fix this?
  2 commentaires
Cristel Esmerna
Cristel Esmerna le 24 Fév 2022
here is the result
Cristel Esmerna
Cristel Esmerna le 24 Fév 2022
And I want it to be like this

Connectez-vous pour commenter.

Réponse acceptée

Les Beckham
Les Beckham le 24 Fév 2022
On line 34 you are extracting the first character from tme and assigning it to strTime. Why?
Try just using tme when you populate your table.
T(i,:) = {imgName, strLat, strLng, tme};
  2 commentaires
Cristel Esmerna
Cristel Esmerna le 25 Fév 2022
I tried and it works. Thank you for answering. Much appreciated.
Les Beckham
Les Beckham le 25 Fév 2022
You are welcome.
Please accept the answer if it solved your problem.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by