- Make sure you have Python (latest) installed in your system.
- Open the folder in CMD or terminal and type pip install opencv-python to install OpenCV.
- Now edit the main.py file using your favorite code editor(Example: Sublime text editor, VSCode, Vim).
- Now save the file, close the editor and run main.py.
https://help.ubuntu.com/stable/ubuntu-help/startup-applications.html.en
https://support.microsoft.com/en-in/help/4026268/windows-10-change-startup-apps