/// <summary> /// recognize image request (async) /// </summary> /// <param name="bmp">Bitmap image</param> /// <returns>JSON result</returns> public static async Task <string> ycRecognizeImageASYNC(Bitmap bmp) //async operation { return(await JYCR.PostImage(bmp)); }
/// <summary> /// recognize image request (async) /// </summary> /// <param name="fileName">image file name</param> /// <returns>JSON result</returns> public static async Task <string> ycRecognizeImageASYNC(string fileName) //async operation { return(await JYCR.PostImage(fileName)); }