Spaces:
Sleeping
Download INSTALLATION.md from KrishDev15/Sign_intrepreter: direct link, hf CLI and curl.
- Browser
- Download file 4.72 kB
-
https://huggingface.co/spaces/KrishDev15/Sign_intrepreter/resolve/main/INSTALLATION.md
- Command line
-
hf download hf://spaces/KrishDev15/Sign_intrepreter/INSTALLATION.md
-
curl -L -o INSTALLATION.md https://huggingface.co/spaces/KrishDev15/Sign_intrepreter/resolve/main/INSTALLATION.md
A newer version of the Streamlit SDK is available: 1.67.0
π¦ Installation Guide - Sign Language Interpreter
This guide provides detailed installation instructions for the Sign Language Interpreter system.
π§ System Requirements
- Python: 3.8 - 3.11 (recommended: 3.9 or 3.10)
- Operating System: Windows 10/11, macOS 10.14+, or Linux
- Hardware:
- Webcam (built-in or external)
- 4GB RAM minimum (8GB recommended)
- 2GB free disk space
- Internet: Required for initial setup and package installation
π Quick Installation
Option 1: Automated Setup (Recommended)
Download and Extract
# If using git git clone https://github.com/yourusername/sign-language-interpreter.git cd sign-language-interpreter # Or download and extract ZIP fileRun Setup Script
python setup.pyThis will:
- Create necessary directories
- Install required packages
- Create a sample model
- Verify installation
Option 2: Manual Installation
Create Virtual Environment
python -m venv venv # Activate virtual environment # Windows: venv\Scripts\activate # macOS/Linux: source venv/bin/activateInstall Dependencies
pip install -r requirements.txtCreate Directories
mkdir models dataset logs examplesCreate Sample Model
python create_simple_model.py
π Verification
Run the system test to verify everything is working:
python test_system.py
Expected output: ``` π€ Sign Language Interpreter - System Test
Dependencies: β All dependencies installed
Camera: β Camera working
MediaPipe: β MediaPipe working
Model Files: β Model files found
Predictor: β Predictor working - Sample prediction: hello (0.85)
================================================== Test Results: 5/5 tests passed π All tests passed! System is ready to use.
## π Running the Application
### Web Interface (Recommended)
```bash
streamlit run app.py
Command Line Interface
python examples/basic_usage.py
π οΈ Troubleshooting
Common Issues
Python Version Error
Error: This package requires Python 3.8-3.11Solution: Install a compatible Python version
Camera Access Error
Error: Camera not accessibleSolutions:
- Close other applications using the camera
- Check camera permissions
- Try a different camera index
Package Installation Error
Error: Could not find a version that satisfies the requirementSolutions:
- Update pip:
python -m pip install --upgrade pip - Try installing packages individually
- Check Python version compatibility
- Update pip:
TensorFlow Installation Issues
Error: No matching distribution found for tensorflowSolutions:
- Use Python 3.8-3.11
- Install TensorFlow separately:
pip install tensorflow - Use CPU-only version:
pip install tensorflow-cpu
Platform-Specific Issues
Windows
- Visual C++ Error: Install Microsoft Visual C++ Redistributable
- Long Path Error: Enable long path support in Windows settings
macOS
- Permission Error: Grant camera access in System Preferences
- Homebrew Issues: Update Homebrew and Python
Linux
- Camera Error: Install v4l-utils:
sudo apt install v4l-utils - Permission Error: Add user to video group:
sudo usermod -a -G video $USER
π Updates
To update the system:
Update Code
git pull # If using gitUpdate Dependencies
pip install -r requirements.txt --upgradeTest System
python test_system.py
π Getting Help
If you encounter issues:
Check Documentation
- Read
README.mdfor overview - Check
QUICKSTART.mdfor basic usage - Review this installation guide
- Read
Run Diagnostics
python test_system.py --verboseCommunity Support
- GitHub Issues: Report bugs and feature requests
- Discord: Join our community chat
- Email: support@signlanguage.ai
π Next Steps
After successful installation:
- Try the Demo:
streamlit run app.py - Collect Data:
python data_collection.py - Train Model:
python train_model.py - Read Documentation: Check
docs/folder for guides
π Security Notes
- The application only accesses your camera locally
- No data is sent to external servers
- All processing happens on your device
- You can review the source code for transparency