There are two options for installing OpenCV on the Raspberry Pi. The simple way is to use a pip installer but that doesn't give you the full version of OpenCV nor does it allow for customization. To get the full version you will need to compile the software yourself. The process relies heavily on using the terminal and takes about 4 hours from start to finish. You will definitely want to have a book and a cup of coffee (or a few).