why k means do not rectangle the red area drawn by harris corner?

Michael Torrie torriem at gmail.com
Mon Aug 14 23:31:11 EDT 2017


On 08/14/2017 07:28 PM, jladasky at 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:
> 
>     from PIL import Image
>     # Two lines removed
>     import numpy as np
>     import cv2
>     from pylab import plot,show
>     from numpy import vstack,array
>     from numpy.random import rand
>     from scipy.cluster.vq import kmeans,vq
>     from pywinauto.application import Application
> 
> 
> I count five third-party packages which are not part of the Python language.  Many programmers won't have all of these packages installed.  Many people won't have any of these packages installed.

I'm guessing many of these are part of the SciPy distribution.  Perhaps
he'd have better luck asking on the SciPy mailing list. I'm sure they
have lists for discussion algorithms and image processing, as they are a
scientific programming community.

https://www.scipy.org/scipylib/mailing-lists.html




More information about the Python-list mailing list