Welcome to the AR Nutrition and Sales Offer Application! This Unity-based application uses image tracking to display nutritional information and sales offers when the camera detects a specific product. This project leverages AR technology to enhance the user's shopping experience by providing instant and interactive information about products.
- 📸 Image Tracking: Detects a specific product using the device's camera.
- 🍎 Nutritional Information Display: Shows detailed nutritional information of the detected product.
- 💸 Sales Offers Display: Displays current sales offers and discounts for the detected product.
- 🖥️ User-Friendly Interface: Intuitive and easy-to-use interface for a seamless user experience.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- 🛠️ Unity 2020.3 or later
- 📱 AR Foundation 4.1 or later
- 🍏 ARKit XR Plugin 4.1 or later (for iOS development)
- 🤖 ARCore XR Plugin 4.1 or later (for Android development)
-
Clone the repository:
git clone https://github.com/your-username/AR-Nutrition-Sales-Offer.git cd AR-Nutrition-Sales-Offer
-
Open the project in Unity:
- Open Unity Hub.
- Click on the "Open" button and navigate to the cloned repository folder.
- Select the folder and click "Open".
-
Set up AR Foundation:
- In Unity, go to
Window -> Package Manager
. - Search for
AR Foundation
and install the package. - Similarly, install
ARKit XR Plugin
(for iOS) orARCore XR Plugin
(for Android).
- In Unity, go to
-
Configure build settings:
- Go to
File -> Build Settings
. - Select
iOS
orAndroid
as the platform. - Click on
Switch Platform
.
- Go to
-
Set up scenes:
- Open the
Scenes
folder and load theMainScene.unity
.
- Open the
-
Deploy to device:
- Connect your iOS/Android device to your development machine.
- Click
File -> Build and Run
.
- Launch the application on your device.
- Point the camera at the specific product's image provided below.
- View the nutritional information and sales offers displayed on the screen.
To test the application, point your camera at the following product image:
To try the release version of the application, please visit the releases page on GitHub.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or feedback, please contact:
- Name: Loai Houmane
- Email: Houmaneloai413@gmail.com
- Portfolio: My portfolio link
- Linkedin: My Linkedin