Car damage detection trained on peltarion dataset using Keras (82.84% accuracy on validation set)
hdf5 file of model available at https://drive.google.com/file/d/1LaGm3aXrPWSWNQrTW8ridMiUWFGZZ2b4/view?usp=sharing
2. Replace the images in src/test_images with your own
3. Open src/demo.ipynb run
1. for each category of images, make a folder inside src/dataset/train/ and place images there
2. Create directory src/model
3. Run src/Transfer_ResNet152v2.ipynb
4. Models are saved inside src/model
5. Follow inference steps above to test the model
For testing this model, create a dir for each category in src/dataset/test
In each categorie's dir, create a dir called Image and keep the images there. For example, 1.jpg will be stored in: src/dataset/test/category1/Image/1.jpg. This is a necessary workaround due to problems with the ```tf.keras.preprocessing.image_dataset_from_directory``` function.
Dataset available for download here: https://peltarion.com/knowledge-center/documentation/terms/dataset-licenses/car-damage
Image input size is 224x224x3 (RGB). Model classifies images to one of the classes:
0: 'bumper_dent'
1:'bumper_scratch'
2:'door_dent'
3:'door_scratch'
4:'glass_shatter'
5:'head_lamp'
6:'no_damage'
7:'smash'
8:'tail_lamp'
Tensorflow 2.6
Pillow 8.3.1