Just wanted to share a success… I was struggling to get the latest robotpy-cscore on my nvidia Jetson. I was previously using the repo from @auscompgeek to install, but it has not been updated in a while. I found this old thread, but it seems to be quite out of date.
I successfully got it installed by setting the include directory and using pip.
export CPPFLAGS=-I/usr/include/opencv4 pip install robotpy-cscore
I hope someone else finds this usefull, or can point out any flaw with this approach.