How to read a raw image URL directly from a GitHub public repository via the imread function?
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
cui,xingxing
am 20 Jul. 2024
Bearbeitet: cui,xingxing
am 20 Jul. 2024
As far as I know, imread built-in function supports to read the image address file of a URL directly, but for a certain URL image address in public repository on Github, I can't read it by MATLAB, instead I can read it by using linux command `wget`, may I know how to read the image correctly by imread function?
Example:
imgPath = "https://github.com/Experience-Monks/360-image-viewer/blob/master/demo/pano_2048.jpg";
img = imread(imgPath);
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Software Development Tools finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!