Installing OpenCV in Edison has been discussed in several threads. I will suggest you to check the community, you will find some useful threads about OpenCV with step-by-step guides. Below are some of them that you might find helpful:
- Opencv on Edison
- OpenCV in Intel Edison (Windows)
- Interfacing USB Camera with Intel Edison
- OpenCV controlled Robot Arm
I hope you find that information useful to start using OpenCV.