takuya-takeuchi / DlibDotNet

Dlib .NET wrapper written in C++ and C# for Windows, MacOS, Linux and iOS
MIT License
488 stars 135 forks source link

How to load images from url #254

Open WREpic opened 3 years ago

WREpic commented 3 years ago

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[].

takuya-takeuchi commented 3 years ago

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

WREpic commented 3 years ago

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

takuya-takeuchi commented 3 years ago

@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