{"id":1812,"date":"2022-08-30T15:19:39","date_gmt":"2022-08-30T15:19:39","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/error-image-step-is-wrong-in-opencv-with-eclipse-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:19:39","modified_gmt":"2022-08-30T15:19:39","slug":"error-image-step-is-wrong-in-opencv-with-eclipse-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/error-image-step-is-wrong-in-opencv-with-eclipse-collection-of-common-programming-errors\/","title":{"rendered":"Error &#8220;Image step is wrong&#8221; in opencv with eclipse-Collection of common programming errors"},"content":{"rendered":"<p>I am running the example &#8220;Face Recognition in Videos with OpenCV&#8221; . When i run the example i get the error<\/p>\n<p>OpenCV Error: Image step is wrong<\/p>\n<p>I am having the similar problem as mentioned in this post except my images are .pgm Getting OpenCV Error &#8220;Image step is wrong&#8221; in Fisherfaces.train() method which leads me to OpenCV 2.0 C++ API using imshow: returns unhandled exception and &#8220;bad-flag&#8221; page,which mentions some changes in the linker settings for Visual c++ as: replace the usual &#8221; cv210.lib cxcore210.lib highgui210.lib&#8221; by &#8221; cv210d.lib cxcore210d.lib highgui210d.lib&#8221; . I am wondering if someone could tell me about linker settings for eclipse. i am using eclipse indigo with opencv 2.4.1 on ubuntu machine.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-12-02 01:40:45. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am running the example &#8220;Face Recognition in Videos with OpenCV&#8221; . When i run the example i get the error OpenCV Error: Image step is wrong I am having the similar problem as mentioned in this post except my images are .pgm Getting OpenCV Error &#8220;Image step is wrong&#8221; in Fisherfaces.train() method which leads [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1812","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1812"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1812\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}