Binary image classifier, Machine Learning Course Project
-
Make a directory called
images
-
Transfer all your images to this directory.
-
Go to this directory.
cd images
-
Run
rename_all.sh
asbash ../rename_all.sh ./ <format>
, where<format>
is the current format of your images. This will rename all images asimage_XX.png
whereXX
is their index. It will create a copy of the image inpng
format. You may choose to manually remove the copies of the same image in the prior file format. NOTE: This assumes all your files are in the same format to start with. If they are not, please prefer to do this entire Sorting procedure separately for each file format, while manually transferring one format into images at a time. -
Open
index.html
in a browser. -
Use arrow keys to move the crop box.
-
Press
q
to save as VADAPAVw
to save as NOT VADAPAVe
to save as BURGER OR SOMETHING VERY SIMILAR TO VADAPAVr
to simply reject the image and move on
-
The first time you try to save an image, you will get a dialog box which asks you to confirm the download. Mark Do this automatically for files like this to remove the prompt and speeden your sorting process. Some manual work is required to specify the default Downloads directory as your preffered directory in your Browser Settings.
-
The process is over when no more images load in your browser.
In case of ambiguity, I assume you are smart enough to figure it out.