Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on OpenCV

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

You can install OpenCV for Python using the following commands.

:::bash
sudo apt-get install libsm6 libxrender-dev
pip3 install opencv-python

If you use xinstall, you can install OpenCV for Python with the following single command.

:::bash
xinstall --sudo cv -ic

Tips and Traps

Computer Vision Tools

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

OpenCV | OpenCV for Python

Pillow

moviepy

moviepy is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom …