This project is designed to run on a Raspberry Pi and utilizes cameras and sensors to detect specific objects in real-time. It offers visual, auditory, and haptic feedback based on the detected objects' characteristics and positions.
- Real-time image processing with OpenCV.
- Auditory feedback using pygame for different detections.
- Haptic feedback through a custom-built vibration controller.
- Utilization of PiCamera2 for seamless integration with Raspberry Pi Camera.
Before you begin, ensure you have met the following requirements:
- Raspberry Pi (Model 3B or newer recommended).
- Raspberry Pi Camera Module installed and enabled.
- Appropriate sensors and haptic devices connected to the GPIO pins.
-
Set Up Your Raspberry Pi: Ensure that your Raspberry Pi is set up with the latest version of Raspberry Pi OS and that the camera interface is enabled through the
raspi-configutility. -
Clone the Repository:
git clone https://github.com/Mflavien01/SeeForMe.git cd SeeForMe -
Install Dependencies: Install the required Python packages:
sudo pip3 install opencv-python-headless pygame picamera2
Note: The
opencv-python-headlesspackage is used to avoid unnecessary dependencies on GUI packages.
To run the project, navigate to the project directory and execute the following command:
python raspi/main.pyThis script will start processing frames from the camera and provide auditory and haptic feedback based on object detection results. Make sure all devices and sensors are correctly connected before starting the script.
LOWER_SCREEN_RATIO: Adjust this value to change the detection zone to the lower part of the screen. Lower values increase the detection area.DISTANCE_THRESHOLD: Set this threshold to define what is considered a "close" obstacle. Decrease this value to increase sensitivity to nearby objects.
- Camera Not Detected: Ensure the camera is properly connected and enabled in the
raspi-config. - Dependencies Not Installing: Make sure you are using the latest version of pip. Upgrade pip using
sudo pip3 install --upgrade pipand try installing the dependencies again. - No Output from Script: Verify that your sensors and haptic devices are wired correctly to the GPIO pins specified in the script.
The course layout for our system is designed to simulate a real-world scenario for the visually impaired. The path includes various obstacles and guiding lines that our system helps to navigate.
This project is licensed under the MIT License - see the LICENSE file for details.
Flavien MATHIEU
Project Link: https://github.com/Mflavien01/SeeForMe

