Skip to content

puntogris/dog-breed-camera

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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