Easy steps to install opencv@2 package on Mac

Package Information:

Application Name – opencv@2
What is opencv@2 – Not Available for opencv@2
Use of opencv@2 – Open source computer vision library
URL – https://opencv.org/

Installation Steps:

  1. Open Terminal using Spotlight search by pressing  <command+space>. Type terminal and hit  Enter  key.
  2. spotlight search terminal

  3. Now, run following command to install homebrew (brew)
  4. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

    Homebrew Install Command Screenshot

  5. Install opencv@2 using brew
    brew install opencv@2

opencv@2  is ready to use now!