Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Patipol-BKK committed Mar 31, 2023
2 parents 6484544 + 46fbfad commit 5c5f3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ python run_system.py

This will start the hardware controls and image recognition functions. The board will look for signals that signify trash input then take a top-down picture of the trash that has been inserted into the compartment and saved it as image.jpeg within the directory. The operation script classify_operation.py would be called to classify using the trained model.

Alternatively, the image recognition script can be run on its own to classify a set of images. Put all the testing images into a folder and run classify.py using the following script:
Alternatively, the image recognition script can be run on its own to classify a set of images. Put all the testing images into a folder and run classify.py using the following script (sample images has already been provided in`test/`):
```bash
python classify.py tf_files/retrained_labels.txt tf_files/retrained_graph.pb path/to/testing_images_folder
```
Expand Down

0 comments on commit 5c5f3bc

Please sign in to comment.