{"id":5751,"date":"2018-06-13T11:59:26","date_gmt":"2018-06-13T11:59:26","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5751"},"modified":"2018-06-13T11:59:26","modified_gmt":"2018-06-13T11:59:26","slug":"draw-filled-white-rectangle-opencv-python","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/draw-filled-white-rectangle-opencv-python\/","title":{"rendered":"Draw a filled white rectangle with OpenCV in Python"},"content":{"rendered":"<p>This is pretty easy (the last argument is the line thickness &#8211; -1 sets this to be filled):<\/p>\n<pre lang=\"python\">\ncv2.rectangle(frame, (x, y), (w, h), (255, 255, 255), -1)\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Draw a simple filled rectangle 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\/5751"}],"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=5751"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5751\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}