First of all, plug the coral stick into a usb3.0 port into your host machine with proxmox on it.
Then go to the node shell in proxmox and type
lsusb
to list all connected usb devices. Most of the time it will not show something with google but rather Global Unichip Corp.
If you can see that you need to enable the passthrough
For doing so, you need to go to your LXC container and click on resources>add>device passthrough
In device path you enter /dev/bus/usb/<bus>/<device>
Bus and device can be found in the output from the lsusb command.
In my case the output was: Bus 003 Device 002: ID 1a6e:089a Global Unichip Corp.
That means the path looks like this: /dev/bus/usb/003/002
Now restart the LXC Container and the passthrough should be configured.
To allow Frigate the access to the stick we need to add it in our docker compose file.
Therefore add the following to the docker compose in the services.frigate section:
devices:
- "/dev/bus/usb/003/002" # Coral USB Stick
Again, replace the numbers with the corresponding output from lsusb. To ensure it is correct try to run the command in the lxc before entering the values into the compose file.
Add following lines to the top of yur frigate config file to tell it that it can use a coral stick:
detectors:
coral:
type: edgetpu
device: usb
Restart the LXC Container and now you should be fine. The stick should be recognized and used for object detection.