{"id":7554,"date":"2014-05-06T05:09:48","date_gmt":"2014-05-05T19:09:48","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=7554"},"modified":"2014-05-06T05:09:48","modified_gmt":"2014-05-05T19:09:48","slug":"opencv-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/opencv-primer-tutorial\/","title":{"rendered":"OpenCV Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenCV\/\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"OpenCV Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenCV\/OpenCV_Primer-49of.jpg\" title=\"OpenCV Primer  Tutorial\"   \/><\/a><p class=\"wp-caption-text\">OpenCV Primer Tutorial<\/p><\/div>\n<p>Do you like to learn by throwing yourself in at the deep end, or by preparing assiduously in order not to take a wrong step by the time you come to do the deed?  Well, sadly, but sometimes happily, I fall into the former category &#8230; not always, but quite often &#8230; and so, want to warn the user of this for today&#8217;s tutorial presentation.<\/p>\n<p>And what is today&#8217;s presentation about?   It is <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/OpenCV' title='OpenCV information by Wikipedia'>about<\/a> <a target=_blank href='http:\/\/opencv.org' title='OpenCV home page'>OpenCV<\/a>, which <i>is a library of programming functions mainly aimed at real-time computer vision<\/i> (to quote Wikipedia).<\/p>\n<p>OpenCV supports the languages C++, C, Python and Java for the platforms Windows, Linux, Mac OS, iOS and Android.   Great concept, huh?  And very ambitious, it is, is it not?<\/p>\n<p>Clearly such a project needs more research than we provide here today, but what we show today (warts and all, regarding the setup) is the installation (where, for Mac\/Linux users I&#8217;d suggest, on a rethink, that the first best step is to perform <i>sudo port install opencv<\/i>) and the DisplayImage C++ application OpenCV suggests, as a first application idea to try, for use on the Linux command line (via Mac Bash Terminal session) and also interfacing to the Eclipse IDE (where you should see the whole tutorial presentation before deciding on your settings for Compiler include directories and Linker directories and linker lists).   This DisplayImage program opens an image file as the first argument on its command line (which is easy enough to see on the Linux command line, but with the Eclipse IDE environment is managed via the &#8220;Run Configuations&#8230;&#8221; functionality setups you apply to your application).  This image for our run of the program is the thematic image of <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=7536' title='HTML\/Javascript Drop Punt Game Tutorial'>HTML\/Javascript Drop Punt Game Tutorial<\/a> presented four days ago.<\/p>\n<p>The code used is as per the examples reachable from this <a target=_blank href='http:\/\/docs.opencv.org\/doc\/tutorials\/introduction\/table_of_content_introduction\/table_of_content_introduction.html#table-of-content-introduction' title='OpenCV tutorial'>webpage<\/a>.<\/p>\n<p>Hope you enjoy your first (if you have experience with OpenCV please skip this tutorial presentation) <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenCV\/\" title='Click picture.'>look<\/a> at the wonderful OpenCV.<\/p>\n<p style='display:none;'>DisplayImage.cpp_GETME Makefile._GETME Makefile.GETME<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d7554' onclick='var dv=document.getElementById(\"d7554\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=Eclipse\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d7554' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Do you like to learn by throwing yourself in at the deep end, or by preparing assiduously in order not to take a wrong step by the time you come to do the deed? Well, sadly, but sometimes happily, I &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/opencv-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,12,33,37],"tags":[176,374,644,707,732,879,997,1012,1166,1319],"class_list":["post-7554","post","type-post","status-publish","format-standard","hentry","category-eclipse","category-elearning","category-software","category-tutorials","tag-c","tag-eclipse","tag-java","tag-linux","tag-mac-terminal","tag-opencv","tag-programming","tag-python","tag-software-2","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7554"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=7554"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/7554\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=7554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=7554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=7554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}