{"id":5754,"date":"2018-06-13T12:06:47","date_gmt":"2018-06-13T12:06:47","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5754"},"modified":"2018-06-13T12:06:47","modified_gmt":"2018-06-13T12:06:47","slug":"overlay-one-part-image-another-opencv-python","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/overlay-one-part-image-another-opencv-python\/","title":{"rendered":"Overlay one part of an image on another in OpenCV with Python"},"content":{"rendered":"<p>Since these are just big arrays, you can copy one chunk of an image over another:<\/p>\n<pre lang=\"python\">\nframe[0:h, 0:w] = frame[y:y+h, x:x+w]\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Copying one part of an image to another in OpenCV<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[407,447],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5754"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=5754"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5754\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}