コード例 #1
0
        public async Task <ImageLabel> GetOneImageRandom(CloudBlobContainer container)
        {
            ImageLabel image = await _imageStore.GetARandomImage();

            image.Container_url = ImageFunctions.GetImage(container, image.FileName);

            image.Bbox = await _imageStore.GetBBoxForOneImage(image.Id);

            return(image);
        }