# Unable to Scan image cords

**URL:** <https://forum.opencv.org/t/unable-to-scan-image-cords/10778>\
**Category:** C++\
**Tags:** programming\
**Created:** [November 2, 2022, 6:15pm UTC](https://forum.opencv.org/t/unable-to-scan-image-cords/10778 "2022-11-02T18:15:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkata](https://avatars.discourse-cdn.com/v4/letter/v/f4b2a3/32.png) [@venkata](https://forum.opencv.org/u/venkata)\
**Post date:** [November 2, 2022, 6:15pm UTC](https://forum.opencv.org/t/unable-to-scan-image-cords/10778/1 "2022-11-02T18:15:17Z")

</div>

We are facing this issue, when we provide an image to scan image coordinates.  
"cv::Exception: OpenCV(4.5.4) /home/runner/work/opencv/opencv/opencv-4.5.4/modules/imgproc/src/resize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function ‘resize’  
"  
Can anyone help on it?

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [November 2, 2022, 6:32pm UTC](https://forum.opencv.org/t/unable-to-scan-image-cords/10778/2 "2022-11-02T18:32:25Z")

</div>

[MRE](https://stackoverflow.com/help/minimal-reproducible-example) is required, if you require assistance debugging your program.

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [November 3, 2022, 8:05am UTC](https://forum.opencv.org/t/unable-to-scan-image-cords/10778/3 "2022-11-03T08:05:02Z")

</div>

s.a. [Scan Image Coords issues · Issue #22742 · opencv/opencv · GitHub](https://github.com/opencv/opencv/issues/22742)
