I spent literally hours trying to make https://layout-parser.readthedocs.io/en/latest/example/deep_layout_parsing/index.html work in virtualenv so that I can OCR text from newspaper article scans
Eventually, I got it to work (with lots of pinning) and thought: this will be a pain to productionize for my #NixOS server! β¦but ultimately I realized all packages I needed were actually already packaged in nixpkgs! π
Now with a flake.nix like https://gist.github.com/stapelberg/45bd82dec9d299fc1cf481c07f0c051d, I have a reproducible (stable!) way of running this program π₯³