Skip to content

GNYAR/computer-vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

computer-vision

Practices from computer vision class.

Environment

  • Windows 10
  • Python 3.11.0
  • CUDA 12.1
# matplotlib numpy opencv-python pillow
pip install matplotlib numpy opencv-python pillow
# pytorch
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
  • opencv-python 4.9.0.80 (doc)
  • torch 2.2.1+cu121 (doc)
  • torchaudio 2.2.1+cu121
  • torchvision 0.17.1+cu121
# youtube-dl pafy
pip install youtube-dl
pip install git+https://github.com/Cupcakus/pafy.git

python -c "import os; print('\\'.join(os.sys.path[1].split('\\')[:-1]))"
# The output is your PYTHON_PATH.
# Please follow the steps blew to fix problem.
# Add parameter flatal=Flase in youtube.py line 1794.
code PYTHON_PATH\Lib\site-packages\youtube_dl\extractor\youtube.py
  • youtube-dl 2021.12.17
  • pafy 0.5.5 (source)

for demo video

# pyttsx3 moviepy
pip install pyttsx3 moviepy

Install ImageMagick and go into the moviepy/config_defaults.py file and provide the path to the ImageMagick binary called magick. (MoviePy - Download and Installation)

IMAGEMAGICK_BINARY = "C:\\Program Files\\ImageMagick_VERSION\\magick.exe"

About

practices from computer vision class

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages