Instructions To Activate Environment
- Install python
- !python -m venv venv a. Mac: !source ./venv/bin/activate b. Windows: ./venv/Scripts/activate
- !pip install -r requirements.txt
Instructions To Use DepthMap
- !python depthMap.py
- follow runtime instructions to insert parameters
this installs the Apple DepthPro HuggingFace model on your computer locally in the repository image_processor folder and model folder DepthMap.py is slow, the first download will take about 1 minute, and subsequent runs will take about 30 seconds each
Instructions To Use RotateImage.py
- Use DepthMap to generate the depthmap input
- !python rotateImage.py
- follow runtime instructions to insert parameters