{"id":3651,"date":"2020-04-21T11:34:52","date_gmt":"2020-04-21T15:34:52","guid":{"rendered":"https:\/\/portfolios.cs.earlham.edu\/?p=3651"},"modified":"2025-04-15T14:38:54","modified_gmt":"2025-04-15T18:38:54","slug":"week-of-april-20th","status":"publish","type":"post","link":"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/04\/21\/week-of-april-20th\/","title":{"rendered":"Week of April 20th"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This last week I tried to connect my C++ code with my Python code. I failed because I couldn&#8217;t convert from cv::Mat to Numpy Array.  There were several problems with that. I will instead save the output of my C++ code as a jpg, and read the jpg in python. This is still considerably faster than using Python  for the image processing part. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This last week I tried to connect my C++ code with my Python code. I failed because I couldn&#8217;t convert from cv::Mat to Numpy Array. There were several problems with that. I will instead save the output of my C++ code as a jpg, and read the jpg in python. This is still considerably faster &#8230; <a title=\"Week of April 20th\" class=\"read-more\" href=\"https:\/\/portfolios.cs.earlham.edu\/index.php\/2020\/04\/21\/week-of-april-20th\/\" aria-label=\"Read more about Week of April 20th\">Read more<\/a><\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80,91,19],"tags":[],"class_list":["post-3651","post","type-post","status-publish","format-standard","hentry","category-80","category-ali-gokcelioglu","category-student"],"_links":{"self":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/3651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/comments?post=3651"}],"version-history":[{"count":2,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/3651\/revisions"}],"predecessor-version":[{"id":3677,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/3651\/revisions\/3677"}],"wp:attachment":[{"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/media?parent=3651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/categories?post=3651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/portfolios.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/tags?post=3651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}