Skip to content
@Pill-Counter-Studio

Pill-Counter-Studio

This is a side project to calculate the number of pills using YOLOv8.

Pill Counter App

You can find further detail from this website: Pill Counter App Explain

Introduction

My friend, who is a pharmacist, often needs to count various pills one by one to complete the medication packaging process. To alleviate this tedious task, I developed a simple app that uses an artificial intelligence (AI) model to automatically identify and count the number of pills in a photo, providing an immediate and accurate result.

Demo

demo

Project Objectives

  • Develop a user-friendly and easy-to-operate web page
  • Enable quick interpretation of pill counts from uploaded photos
  • Maintain records of each interpretation for manual review

Features

  • Use PWA to allow users to install the website on their mobile devices to simulate the experience of a native app.
  • Use Google third-party authentication to eliminate the need for users to register separately.
  • Support uploading images or taking photos instantly, and the system will quickly interpret the number of pills
  • Visually present the AI model's prediction results on the images by marking each pill with a red dot
  • Retain prediction records for 7 days for manual review and support adding notes to prediction records
  • Integrate Neweb Pay for subscription management after exceeding the trial limit

Pending Tasks

  • Attempted to run containerized services on AWS EC2, but encountered issues with large Docker image transfers.
    • Future steps could include optimizing the server's package dependencies.
    • The production environment should only require inference functionality, so trimming down the YOLO v8-related training libraries can help reduce the image size.
  • Attempted to deploy the React Web App on Netlify, but deployment has been temporarily halted due to issues with setting up the AWS server.

Conclusion

This project aims to address the tedious task of manual pill counting faced by pharmacists during the medication packaging process. By developing a user-friendly web application, pharmacists can easily upload images or take photos instantly, and the system will quickly and accurately interpret the number of pills, marking each pill with a red dot. Additionally, prediction results will be retained for 7 days to facilitate manual review and note-taking. The integration of BluePay ensures that users can seamlessly subscribe and make payments after exceeding the trial limit. This application not only improves work efficiency but also reduces manual counting errors, providing significant convenience for pharmacists in their daily work.

Pinned Loading

  1. pillcounter-server pillcounter-server Public

    This microservice of Pill Studio aims to infer AI prediction results and perform CRUD operations with a PostgreSQL database.

    Python

  2. pillcounter-web pillcounter-web Public

    This microservice of Pill Studio aims to render the webpage and use PWA to simulate an app.

    TypeScript

  3. pillcounter-payment pillcounter-payment Public

    This microservice of Pill Studio aims to place subscription orders using NewebPay(藍心金流) API.

    TypeScript

  4. pillcounter-auther pillcounter-auther Public

    This microservice of Pill Studio aims to serve as an API gateway and authenticate requests.

    TypeScript

Repositories

Showing 5 of 5 repositories
  • .github Public

    This is a preliminary profile for showcasing a side project that utilizes YOLOv8 for AI-powered pill counting.

    Pill-Counter-Studio/.github’s past year of commit activity
    1 0 0 0 Updated Jul 29, 2024
  • pillcounter-web Public

    This microservice of Pill Studio aims to render the webpage and use PWA to simulate an app.

    Pill-Counter-Studio/pillcounter-web’s past year of commit activity
    TypeScript 0 AGPL-3.0 0 0 0 Updated Jul 29, 2024
  • pillcounter-server Public

    This microservice of Pill Studio aims to infer AI prediction results and perform CRUD operations with a PostgreSQL database.

    Pill-Counter-Studio/pillcounter-server’s past year of commit activity
    Python 0 AGPL-3.0 0 0 0 Updated Jul 29, 2024
  • pillcounter-payment Public

    This microservice of Pill Studio aims to place subscription orders using NewebPay(藍心金流) API.

    Pill-Counter-Studio/pillcounter-payment’s past year of commit activity
    TypeScript 0 AGPL-3.0 0 0 0 Updated Jul 29, 2024
  • pillcounter-auther Public

    This microservice of Pill Studio aims to serve as an API gateway and authenticate requests.

    Pill-Counter-Studio/pillcounter-auther’s past year of commit activity
    TypeScript 0 AGPL-3.0 0 0 0 Updated Jul 29, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…