- Parth Dadhania (SID: 1722612)
- Het Bharatkumar Patel (SID: 1742431)
- Chinmoy Sahoo (SID: 1729807)
- Dang Nguyen (SID: 1740770)
This guide ensures that every team member can seamlessly set up, configure, and run the AI-powered Voice-Assisted Object Locator (AIVOL) project in an identical development environment across WSL Ubuntu & Raspberry Pi.
π Follow these steps carefully to ensure a smooth and identical setup on your machine.
πΉ Supported Platforms:
β
Windows Subsystem for Linux (WSL) Ubuntu (Development)
β
Raspberry Pi OS (Deployment/Production)
Navigate to your desired project directory and run:
git clone https://github.com./PrthD/AI-powered-Voice-assisted-Object-Locator.git
cd AI-powered-Voice-assisted-Object-Locator
Make the setup script executable:
chmod +x setup.sh
Then, run the script:
./setup.sh
This will:
β Install necessary system dependencies
β Ensure Python 3.11.4 is installed using pyenv
β Create and activate a virtual environment
β Install all Python dependencies from requirements.txt
β Download YOLO model weights
Once the setup is complete, verify that everything is correctly installed:
python --version
β Should output: Python 3.11.4
pip list
β Should list all dependencies (e.g., opencv-python
, SpeechRecognition
, PyAudio
, pyttsx3
, mediapipe
, ultralytics
, torch
, torchvision
).
ls -lh models/yolo/yolo.weights
β Should show the YOLO model weights file (yolo.weights
).
Now that everything is set up, run the main program:
python3 src/main.py
If you encounter any issues during the setup, the script will now immediately exit and display an error message. For example, if Python or the dependencies are not installed correctly, you will see a message like:
β An error occurred during the setup. Please review the error messages above and refer to the Troubleshooting Guide in README.md.
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
exec "$SHELL"
Whenever thereβs a new update, run:
git pull origin main
./setup.sh
Step | Description |
---|---|
1οΈβ£ | Clone the GitHub repository |
2οΈβ£ | Run the setup.sh script |
3οΈβ£ | Verify installation (python --version , pip list ) |
4οΈβ£ | Run the main program (python src/main.py ) |
5οΈβ£ | Troubleshoot issues if needed |
6οΈβ£ | Pull updates and re-run setup.sh |
π This guide ensures that all team members have an identical setup, making collaboration seamless and error-free! π