update: detected rectangles may be partially outside the image
Merge pull request #493 from pppoe:master
Merge branch 'master' of https://github.com/Itseez/opencv