Standalone ml5.js KNN Image Classifier Example
Clone or download this repository:
git clone https://github.com/cvalenzuela/ml5_KNN_example.git
Change directory into /KNNImageClassification/
You will need a server to run this example. An easy way of running a server is using python.
Open your terminal window and type:
python -m SimpleHTTPServer
If you see an error similar to
No module named SimpleHTTPServer
It means you have python3. Try with:
python3 -m http.server