Auto-launch openCV python script on boot using Raspberry pi - Buster

There are many ways to start a python script on boot and the processes is suppose to be very easy. Well! it is easy if your python code does not use OpenCV and GPIO pins. But if you have some kind of GUI then it is not possible to launch the script directly from the boot sequence without loading the Desktop.  What supposedly is to be a 2 minutes job took a lot many hours so I decided to write this post as a note for future self and also to others

[original story: Circuit Digest]

Circuit Digest 04 Jul 09:40