Skip to content

Android app that detects the breed of a dog using the camera.

License

Notifications You must be signed in to change notification settings

puntogris/dog-breed-camera

Repository files navigation

dog breed camera

Android camera app that detects the breed of a dog.

Machine Learning model

Model based in 120 breed of dogs trained over 150 epochs, includes metada and its converted to Tflite to use in android.

Used:

For making predictions with python, keep in mind the model takes 224 x 224 images with 3 RGB Channels.

#here is how i resized it with cv2, you can do it how you prefer
img = cv2.imread(IMAGE_PATH)
resized_img = cv2.resize(img, (224, 224)).astype(np.float32)
final_img = new_img / 255.
output = make_prediction(final_img)

Android app

Used:

  • Kotlin
  • MVVM
  • CameraX
  • Hilt DI

Screenshots

About

Android app that detects the breed of a dog using the camera.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published