Setting up TensorFlow Lite for Raspberry Pi High Quality Camera and compiling rpicam-detect was surprisingly complicated. Installing a .deb and manually writing the .pc file worked in the end.
These links are helpful:
https://lindevs.com/install-precompiled-tensorflow-lite-on-raspberry-pi/
https://github.com/raspberrypi/rpicam-apps/issues/622
