DlibDotNet icon indicating copy to clipboard operation
DlibDotNet copied to clipboard

How to load images from url

Open WREpic opened this issue 3 years ago • 3 comments

Summary of your issue

I need to load a lot of images, but those are in S3, so is there a possibility to load images from a url?

If we don't have the option to send an url as parameter, it would be very helpful if we have the option to send as parameter in LoadImage, an array of bytes[].

WREpic avatar May 14 '21 16:05 WREpic

@WREpic DlibDotNet and dlib does not support loading from web. You must download binary by .NET API and load from it.

takuya-takeuchi avatar May 15 '21 01:05 takuya-takeuchi

@takuya-takeuchi thanks for your answer. Another question, do you have any example that uses the CNN method? Thanks.

WREpic avatar May 19 '21 13:05 WREpic

@WREpic What is CNN method? You mean DNN? dlib could not provide an cnn as method.

If you want to inference any data, please check https://github.com/takuya-takeuchi/DlibDotNet/tree/8c1cbab8048e07fb74c6509401b68271a5f69bdf/examples

takuya-takeuchi avatar May 19 '21 14:05 takuya-takeuchi