Skip to content

🕒 A simple water and gas meter reader api, powered by artificial intelligence.

Notifications You must be signed in to change notification settings

maikonalexandre/measure-reader

Repository files navigation

⏱️ Measure reader

📌 Install   •   🛠️ Stack   •   🐦 Twitter

GitHub stars GitHub issues GitHub license Required Node.JS >=18.0.0

👋 Introduction

measure-reader application was developed to automate the process of reading water and gas meters. Using Google's artificial intelligence model, Gemini, the application is able to extract the reading from the numbers shown in an image of the meter sent by the user.

✨ Main features:

  • Image upload: The user can upload a photo of a water or gas meter

  • AI-powered image processing: The application uses the Gemini model to identify and extract the number displayed on the meter.

  • Data storage: The extracted reading and the received image are saved in a database.

  • Confirmation and update: The user can confirm the reading made by the AI ​​and, if there are discrepancies, update the data.

  • Reading list: It is possible to list all readings recorded in the system

📌 Install

You will need:

  1. Clone this repo locally:
git clone [email protected]:maikonalexandre/measure-reader.git
  1. Install dependencies:
#run
npm install
# or
pnpm install
# or
yarn install
  1. Start project:
#run
docker-compose build && docker-compose up

🛠️ Stack

  • TypeScript - JavaScript with syntax for types.
  • Fastify - A web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture.
  • Prisma - An ORM for JavaScript and TypeScript that simplifies database access and management.
  • Biome - An alternative to ESLint and Prettier, made with Rust.
  • Docker - A platform for developing, shipping, and running applications inside containers.
  • Zod - A TypeScript-first schema declaration and validation library.
  • date-fns - A modern JavaScript date utility library delivering modularity, performance, and ease of use.
  • @google/generative-ai - A library for interacting with Google's Generative AI models.

And more

About

🕒 A simple water and gas meter reader api, powered by artificial intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published