On 08/14/2017 07:28 PM, jlada...@itu.edu wrote:
> On Monday, August 14, 2017 at 4:41:23 PM UTC-7, Ho Yeung Lee wrote:
>> my code can run without error,
>>
>> you can try to download one of face from search keyword "face"
>> and try this script
>
> You're assuming a lot. From your code:
>
> f
On Monday, August 14, 2017 at 4:41:23 PM UTC-7, Ho Yeung Lee wrote:
> my code can run without error,
>
> you can try to download one of face from search keyword "face"
> and try this script
You're assuming a lot. From your code:
from PIL import Image
# Two lines removed
import numpy
my code can run without error,
you can try to download one of face from search keyword "face"
and try this script
On Tuesday, August 15, 2017 at 4:33:51 AM UTC+8, jlad...@itu.edu wrote:
> On Monday, August 14, 2017 at 12:30:21 PM UTC-7, Ho Yeung Lee wrote:
> > https://gist.github.com/hoyeunglee/
i would like to ask whether
at line
dd = dst>0.01*dst.max()
and
the part of code below from script, whether write wrong in array access or
assignment
testing1 = zip(*np.where(dd == 1))
locations = testing1
testing1 = [list((float(elem[0]),float(elem[1]))) for elem in testing1]
On Monday, August 14, 2017 at 12:30:21 PM UTC-7, Ho Yeung Lee wrote:
> https://gist.github.com/hoyeunglee/df7e6cb9b76c576b26fd2bb2b26bfe2f
>
> sample image
> https://drive.google.com/file/d/0Bxs_ao6uuBDUY09qM1JMWS1Ob0k/view?usp=sharing
>
> would like to rectangle bound the eye ,mouth corner etc
https://gist.github.com/hoyeunglee/df7e6cb9b76c576b26fd2bb2b26bfe2f
sample image
https://drive.google.com/file/d/0Bxs_ao6uuBDUY09qM1JMWS1Ob0k/view?usp=sharing
would like to rectangle bound the eye ,mouth corner etc
which detected by harris corner
but using kmeans can not rectangle the red area