Yet another version of video2ascii, writtern in Go.
other versions:
P.S. Video2ASCII is my personal "hello world" project, every time I learn a new programming language, I will implement it in that languange.
then install dependencies:
for opensuse
:
sudo zypper in libvpx-devel libopus-devel
sudo zypper in opencv opencv-devel
sudo zypper in clang clang-devel
# use mpv to play audio
sudo zypper in mpv
for macOS:
brew install opencv
# use mpv to play audio
brew install mpv
see gocv's docs for more details.
go mod download
go run cmd/main.go