
- Team Lead: Adharsh M S - GEC Palakkad
- Member 2: Richa Maria Johnson - GEC Palakkad
- Member 3: Abhiram K - GEC Palakkad
RCG is a fun web app that uses AI to detect objects in your photos and generates quirky compliments for whatever it finds! Just upload any picture, and our app will spot the main object and serve up a lighthearted, personalized compliment—whether it's your dog, your favorite mug, or even your shoes! Perfect for adding a smile to your day and making your snapshots feel appreciated. 😊
In a world filled with serious photos and critical selfies, people are suffering from a severe lack of random, object-specific compliments. From underappreciated houseplants to uncelebrated coffee mugs, everyday objects are left feeling unloved and unnoticed. Humans, too, are missing out on the joy of hearing delightful and ridiculous praise for the most mundane items in their lives.
Introducing RCG(Random Compliment Generator)—the AI-powered compliment generator that brings appreciation to all things, big and small! Finally, your favorite chair, your half-eaten sandwich, or your loyal coffee mug can bask in the glory of a heartfelt (and sometimes absurd) compliment. Because why should only people get the love? Snap a photo, let the app do its magic, and give your objects the compliments they truly deserve!
For Software:
- Javascript, HTML, SCSS
- React JS, Node JS, Express
- Groq AI
RCG is a playful web app that detects objects in your photos and generates fun, AI-powered compliments for them! It’s designed to bring humor and light-heartedness to everyday moments by showering appreciation on any object you upload.
RCG uses a combination of image recognition and natural language generation to identify objects in an uploaded image and provide a quirky compliment based on what it finds. It’s perfect for adding a bit of fun to mundane objects and celebrating all things with a random, feel-good compliment.
- Frontend: React (for handling image uploads and displaying compliments)
- Backend: Node.js + Express (API for handling image recognition and generating compliments)
- AI Services:
- Object Detection & Compliment Generation: Groq API
- Image Upload: Users can upload any image to the app.
- Object Detection: Recognizes the main object in the image using an image recognition API.
- Compliment Generation: Creates a humorous compliment based on the detected object.
- Real-Time Display: Shows the compliment immediately after processing.
-
Clone the Repository
git clone https://github.com/abhiramkunnath/rcg.git cd rcg
-
Backend Setup
- Install dependencies:
npm install
- Create a
.env
file in theroot
directory with the following variables:GROQ_API_KEY=your_groq_ai_api_key PORT=backend_port_number
- Start the server:
node server.js
- Install dependencies:
-
Frontend Setup
- Install dependencies:
cd frontend npm install
- Start the React app:
npm start
- Install dependencies:
- Upload an Image: Click on the upload button to select an image from your device.
- View Results: After a short processing time, the app displays:
- Compliment: A fun, AI-generated compliment for the detected object.
- Enjoy and Share: Take a screenshot or enjoy the silly compliment!
- POST /detect-object
- Description: Accepts an image file, detects objects in the image, and generates a compliment for the detected object.
- Request:
- Form-data with
image
(file)
- Form-data with
- Response:
{ "compliment": "random compliment" }
- User uploads a picture of a dog.
- The app detects "dog" as the main object.
- Groq AI generates a compliment like, "You’re pawsitively perfect!"
- The compliment is displayed to the user.
RCG is all about fun and bringing smiles to everyday life. Enjoy using it, and don’t forget to give your coffee mug a well-deserved compliment! 😊
Generator Page of RCG with image uploaded
Demo Video Demo video of uploading an image and getting compliment in RCG
- Adharsh M S: Implementation of AI
- Richa Maria Johnson: Styling
- Abhiram K: Server and Front-End
Made with ❤️ at TinkerHub Useless Projects