Every Python file in this repo is runnable if you pip3 install -U taichi opencv-python
.
For example, if you run python3 bilateral_grid_hdr.py
, you get the following UI:
We use the pre-commit
Python package, which invokes yapf
automatically format Python code.
Usage:
- Install
pre-commit
:pip install pre-commit
. - Run code format:
pre-commit run -a
. - Install as pre-commit hook:
pre-commit install
.