This file include:
- (1) Readme.md
- (2) panda.jpg
- (3) 3_a.py (k-mean)
- (4) 3_b.py (mean-shift)
(a) Using the command prompt and direct to the file position. (my example)
>> [C:\Users\hank\Desktop\Yueh_Lin_Tsou_lab2\3\a]
(b) input >> "python 3_a.py" to run the code.
>> [C:\Users\hank\Desktop\Yueh_Lin_Tsou_lab2\3\a>python 3_a.py]
(c) The program will ask to input the number of cluster for K-means
>> [cluster number for K-means: 3]
(d) The program will show the result image
(a) Using the command prompt and direct to the file position. (my example)
>> [C:\Users\hank\Desktop\Yueh_Lin_Tsou_lab2\3\b]
(b) input >> "python 3_b.py" to run the code.
>> [C:\Users\hank\Desktop\Yueh_Lin_Tsou_lab2\3\b>python 3_b.py]
(c) The program will show the result image