Skip to content

yolov5 object detection with midas for depth estimation doesnt work though gang its 4 am im so tired for tgree years i have been trying to make ts work im going to kms

License

Notifications You must be signed in to change notification settings

choccymalk/midas-with-yolov5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

  1. Install Python
    1a. wget https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz
    1b. tar -xf Python-3.9.5.tar.xz
    1c. cd Python-3.9.5
    1d. ./configure
    1e. make -j$(nproc)
    1f. sudo make install
  2. Clone this repository
    2a. git clone https://github.com/choccymalk/midas-with-yolov5.git
    2b. cd midas-with-yolov5
  3. Make a virtual environment
    3a. python3.9 -m venv venv
    3b. source venv/bin/activate
  4. install requirements.txt
    4a. pip install -r requirements.txt
  5. print this image print this
  6. Lay the chessboard flat and run take-pictures-for-calibration.py. Make sure you get enough with a lot of different angles.
  7. Calibrate your camera with depth-with-object-detection-midas.py
    7a. python depth-with-object-detection-midas.py -c 1
  8. Now you can run it
    8a. python depth-with-object-detection-midas.py -c 0

About

yolov5 object detection with midas for depth estimation doesnt work though gang its 4 am im so tired for tgree years i have been trying to make ts work im going to kms

Resources

License

Stars

Watchers

Forks

Packages

No packages published