1 | initial version |
OpenCV will run on anything. Even on a Raspberry Pi 1 (700MHz single core CPU, 256Mb memory). As long as it can run Windows or Linux, you're mostly OK.
Then, everything depends on your processing needs, and you didn't tell what do you want to do. There are some very fast algorithms, but other need lots of computing power. Same for the memory: processing a 640x480 pixel image from a webcam needs little memory, while processing a 4K video will fill your RAM quickly.
Coding on GPU is quite hard. Your code will run mostly on CPU, so the video card is irrelevant. The GPU might be important for other type of tasks, for example if you want to train deep neural networks - but then I would recommend a desktop computer, as it's more modular, powerful and much cheaper.