Data Mining and Knowledge Discovery (1001) Group Project
-
NumPy
-
Opencv-python
-
Matplotlib
git clone (project repo name)
conda create -n md python=3.7
conda activate md
pip install -r requirements.txt
python main.py --img (str) --clustersNum (int)
# Easy Example
python main.py
python run.py --img (str) --clustersNum (int)
# Easy Example
python run.py
python sklearn_kmeans.py
python eval.py --img (str) (str)
The implementation took reference from [Opencv K-Means Clusters](K-Means Clustering in OpenCV — OpenCV-Python Tutorials beta documentation), Numpy, [Sklearn](sklearn.cluster.KMeans — scikit-learn 1.1.3 documentation)
We thank the authors for their generosity to release code.