Upload image and get direct link on imgur

It is possible to upload the image from the local drive to the imgur.com and get back the direct link of the image in matlab .m scipt?
I would like to use the direct link received for doing reverse image search by google

 채택된 답변

Image Analyst
Image Analyst 2014년 4월 24일

0 개 추천

Yes, though with some of those sites the first link they give you is the whole page with lots of ads and other things. That's why they don't work when they try to attach them here and I have to fix them by first going to that link and clicking on it to bring it up in a popup window and then right clicking on it and selecting View image. Then it usually brings up the image alone in it's own window and you can get the "real" url of the image alone from the address bar.

댓글 수: 3

Chan
Chan 2014년 4월 24일
So how about if I have to do with more than hundreds of images? It is possible to write a function which receive a folder and for each image, upload it and get the direct link of image back?
Image Analyst
Image Analyst 2014년 4월 24일
I don't know. I suppose so, though I don't know if MATLAB is the best language for that sort of task. You might want to write something in Visual Studio.
Chan
Chan 2014년 4월 24일
Thanks for your advise. I would try to use some other language to complete it

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Royi Avital
Royi Avital 2021년 1월 9일

0 개 추천

Since IMGUR uses REST based API you can do it in MATLAB.
Best way to start is trying to replicate the Python library: IMGUR Python.

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

2014년 4월 24일

답변:

2021년 1월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by