beeldengeluid / dane-video-segmentation-worker

0 stars 0 forks source link

Containerize #2

Closed Veldhoen closed 1 year ago

Veldhoen commented 1 year ago

Create dockerfile (& image) to include both installation of hecate and dependencies for audio processing

Veldhoen commented 1 year ago

Hecate uses OpenCV. I installed it from source, analogous to Hecate's Dockerfile which installs OpenCV version 3.3.1.

Other utilities (the keyframe extraction bit at least) also rely on opencv. However, openCV 3.3.1 is not compatible with Python3.10. So for now, I treated them as separate dependencies. For Python compatibility, I installed libgl1-mesa-glx (as suggested online to make it work).

All of this would probably not win a beauty contest, but at least it works.. I'm not sure how to make a cleaner version of the dockerfile without spending way too much time on testing everything.