bogdaaamn / coffee-cup-detect-next

Application that displays data saved from an object detection model using Edge Impulse on Raspberry Pi. The data is retrieved from Supabase

Home Page:https://coffee-cup-detect-next.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an application that displays data saved from an object detection model using Edge Impulse on Raspberry Pi. The project is described in more detail at coffee-cup-detect-runner. The data is retrieved from Supabase.

Supabase

To get data to the database, you need a Supabase project. It should be already configured following the coffee-cup-detect-runner project. If you didn't do so, check out the project, or follow the following instructions.

You can head over to database.new to create a new Supabase project. When your project is up and running, navigate to the project's SQL Editor and paste in the following snippet:

create table detections (
  id uuid NOT NULL DEFAULT uuid_generate_v4(),
  created_at timestamp with time zone not null default current_timestamp,
  message text
);

This will create a detections table in which you can insert rows every time, for example, a coffee cup is detected.

Alternatively, you can manually navigate to your project's Table Editor and configure the table manually.

Development

Create an .env file (see .env.example) and copy the Supabase credentials, more details here

SUPABASE_URL=<SUPABASE_URL>
SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

To learn about the entire project, go to coffee-cup-detect-runner. To learn about Edge Impulse follow these resources:

To learn about Supabase, take a look at the following resources:

About

Application that displays data saved from an object detection model using Edge Impulse on Raspberry Pi. The data is retrieved from Supabase

https://coffee-cup-detect-next.vercel.app


Languages

Language:TypeScript 92.9%Language:CSS 6.2%Language:JavaScript 0.9%