Skip to content

Latest commit

 

History

History
93 lines (69 loc) · 3.32 KB

README.md

File metadata and controls

93 lines (69 loc) · 3.32 KB

FamilyPets

alt text

Mission

Our mission is to assist in the search for lost pets with families through a seamless, transparent and compassionate process using Diagrid Catalyst.

How it works

  1. User Registration: Users can create a new account.
  2. Pet Reporting: After a successful login, users can report found or lost pets.
  3. Image Matching: Every 12 hours, PetWorkflow runs to update image matches between found and lost pets.
  4. Rewards: Users are rewarded for their contributions.

Workflows

User Workflow
User Workflow
App Workflow
Pet Service App
App Workflow
Diagrid PetWorkflow

PetFamilyWorkflow

graph TB
    A[Start]
    B{MLModel is STOPPED}
    C[Init Reknogition Model and Wait]
    D[Get list images from S3 bucket]
    E([for each Image in Images])
    E1[DetectCustomLabelsAsync]
    F[Add metadata and move to new bucket]
    G[Stop model]
    H[END]
    A --> |"input: {modelArn}"| B
    B --> |"[Yes]: {STOPPED}"| C
    B --> |"[No]: {RUNNING}"| H
    C --> D
    D --> |"Images[]"| E
    E -->|"input: {Image}"| E1-->|"output: {breed} {confidence}"| F
    F --> G
    G --> H
Loading

Project structure

Folder structure for backend and frontend apps

.
├── backend                  # 3 Projects build .NET
│   ├── PetWorkflow          # In charge of loading the model and process images
│   ├── PetCenterCallPet     # Validation images
│   ├── PetCenterServices    # In charge of save images on S3 bucket
├── frontend-client          # UI app with Cognito
└── README.md

Installation

  1. Clone the repository: git clone https://github.com/Ksantacr/FamilyPetsHackatonDiagrid.git
  2. Add setting for frontend-client app
    1. Follow README.md instructions
  3. Add setting for backend projects
    1. PetCenterCallPet: README.md
    2. PetCenterServices: README.md
    3. PetWorkflow: README.md

Resources