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.
Files changed (2) hide show
  1. package/ask.cc +2 -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<<res<<" xxxx " << stream.size() << img_url << stream.max_size()<<endl;
797
+ cout<<img_url<<" download: " << stream.size() << " " << stream.max_size()<<endl;
798
798
  return imdecode(stream, -1); // 'keep-as-is'
799
799
  }
800
800
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hzt_asc",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "main": "index.js",
5
5
  "description": "hzt_asc_v3.",
6
6
  "author": {