In case you need to install OpenCV with the associated Java binding: port install opencv +java Futher details, here!…