I am very new to Raspberry Pi, and This is my first time using it. I have read a lot from the documentation on the official website, and I really got great things. After that I installed OpenCV 3 with Non-free Modules from pyimagesearch, and I really recommend anyone new reading this post, and want to install OpenCV to follow up with these amazing well organized steps.
What I want to ask about is how to make my code I made on Python on my PC run on RasPi, can codes be run in parallel, or do I have to put everything in a single .py file and run it ??. Are there any references that I can read from, or anyone can help me ?
Another question, I am not using the Raspberry Pi camera module, just a standard webcam, do I have to write something in the code, like import picamera, or I just write cv2.VideoCapture() and put the number of the port that the camera is connected to between the parenthesis ??
Any help would be appreciated. Thanks in advance
Note: the RasPi is running on Jessie, installed via NOOBS as recommended by the official website