WasteClassifier01 πŸ—‘οΈ

A CNN model that classifies waste images into categories like plastic, paper, metal, glass, organic, etc.

Model Info

  • Format: Keras .h5
  • Size: 17.3 MB
  • Task: Image Classification

How to Load & Use

```python from tensorflow import keras import numpy as np from PIL import Image

Load model

model = keras.models.load_model("waste_classifier_final.h5")

Preprocess image

img = Image.open("your_image.jpg").resize((224, 224)) img_array = np.expand_dims(np.array(img) / 255.0, axis=0)

Predict

prediction = model.predict(img_array) print("Predicted class:", np.argmax(prediction)) ```

Author

dk00069

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support