Hey,
I don;t think that you would be able to rung the GoPiGo without sudo. GoPiGo needs access to the I2C bus which is only given to a root user.
I think it might be better to get the OpenCV code working alone without the GoPiGo and when it starts working, then you should look at ways to integrate it.
I access to the raspberry via Putty(due to i use windows). Once i’m inside raspberry, with the command “lxsession” i acces to the desktop of the raspberry, and there i run everythin from the root Terminal and i have no problem !!
@71davess,
Looking at your posts 3 years later looking to do something similar. Were you successful? Do you have a web page or github (or your thesis?) that shows how you did it?
Thanks!
Jim P