hzt_asc 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ask.cc +2 -2
- package/package.json +1 -1
package/ask.cc
CHANGED
|
@@ -790,11 +790,11 @@ cv::Mat curlImg(const char *img_url, int timeout=100000)
|
|
|
790
790
|
|
|
791
791
|
curl_easy_cleanup(curl); // cleanup
|
|
792
792
|
if (res != CURLE_OK) {
|
|
793
|
-
cout << "curl errcode=" << res << img_url <<endl;
|
|
793
|
+
cout << "curl errcode=" << res << " " << img_url <<endl;
|
|
794
794
|
cv::Mat dest(0, 0, 1);
|
|
795
795
|
return dest;
|
|
796
796
|
}
|
|
797
|
-
cout<<
|
|
797
|
+
cout<<img_url<<" download: " << stream.size() << " " << stream.max_size()<<endl;
|
|
798
798
|
return imdecode(stream, -1); // 'keep-as-is'
|
|
799
799
|
}
|
|
800
800
|
|