{"action":"closed","issue":{"url":"https://api.github.com/repos/peterbraden/node-opencv/issues/274","labels_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/274/comments","events_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/274/events","html_url":"https://github.com/peterbraden/node-opencv/issues/274","id":98408352,"number":274,"title":"Incorrect rectangle drawing in examples/face-detection-rectangle.js","user":{"login":"drejkim","id":3721990,"avatar_url":"https://avatars.githubusercontent.com/u/3721990?v=3","gravatar_id":"","url":"https://api.github.com/users/drejkim","html_url":"https://github.com/drejkim","followers_url":"https://api.github.com/users/drejkim/followers","following_url":"https://api.github.com/users/drejkim/following{/other_user}","gists_url":"https://api.github.com/users/drejkim/gists{/gist_id}","starred_url":"https://api.github.com/users/drejkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drejkim/subscriptions","organizations_url":"https://api.github.com/users/drejkim/orgs","repos_url":"https://api.github.com/users/drejkim/repos","events_url":"https://api.github.com/users/drejkim/events{/privacy}","received_events_url":"https://api.github.com/users/drejkim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/peterbraden/node-opencv/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T14:56:49Z","updated_at":"2015-07-31T15:25:30Z","closed_at":"2015-07-31T15:25:30Z","body":"In `examples/face-detection-rectangle.js`, should the following line:\r\n\r\n```js\r\nim.rectangle([face.x, face.y], [face.x + face.width, face.y + face.height], COLOR, 2);\r\n```\r\n\r\nbe changed to:\r\n\r\n```js\r\nim.rectangle([face.x, face.y], [face.width, face.height], COLOR, 2);\r\n```\r\nThe latter appears to draw the correct rectangle around Mona Lisa's face."}}