[SciPy-User] how to draw rectangle to bound the red area drawn by k means

Martin Lee tesleft at hotmail.com
Sun Aug 20 03:11:57 EDT 2017


Hi ,



https://gist.github.com/hoyeunglee/df7e6cb9b76c576b26fd2bb2b26bfe2f

gist:df7e6cb9b76c576b26fd2bb2b26bfe2f<https://gist.github.com/hoyeunglee/df7e6cb9b76c576b26fd2bb2b26bfe2f>
gist.github.com




i use sample image

https://www.google.com.hk/search?q=face&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj2h6aEoeXVAhVIW7wKHdwSB3gQ_AUICigB&biw=1600&bih=745#imgrc=sTZHikKAW03ucM:


would like to rectangle bound the eye  ,mouth corner etc
which detected by harris corner

but using kmeans can not rectangle the red area drawn by harris corner


Regards,
Ho Yeung, Lee
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-user/attachments/20170820/c4f569c0/attachment.html>


More information about the SciPy-User mailing list