示例#1
0
        public SearchResults SearchUrl(string imageUrl)
        {
            DownloadResult downloadResult = ImgDownload.Download(imageUrl);

            if (downloadResult.image != null)
            {
                return(SearchImage(downloadResult.image));
            }

            return(null);
        }
示例#2
0
        public VoyImageResult SearchUrl(string imageUrl)
        {
            DownloadResult downloadResult = ImgDownload.Download(imageUrl);

            if (downloadResult.image != null)
            {
                return(SearchMat(downloadResult.image));
            }

            return(VoyImageResult.Invalid());
        }