opencv_interactive-calibration command not found

In this troubleshooting guide we learn how to fix opencv_interactive-calibration command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

opencv_interactive-calibration: command not found

or when using sudo you get the following error message

sudo: opencv_interactive-calibration: command not found

Solutions to opencv_interactive-calibration: command not found

How To Fix opencv_interactive-calibration: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu opencv_interactive-calibration is provided by libopencv-dev package.

libopencv-dev is:

This is a metapackage providing development package necessary for development of OpenCV (Open Computer Vision).

The Open Computer Vision Library is a collection of algorithms and sample code for various computer vision problems. The library is compatible with IPL (Intel’s Image Processing Library) and, if available, can use IPP (Intel’s Integrated Performance Primitives) for better performance.

OpenCV provides low level portable data types and operators, and a set of high level functionalities for video acquisition, image processing and analysis, structural analysis, motion analysis and object tracking, object recognition, camera calibration and 3D reconstruction.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libopencv-dev

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libopencv-dev.

sudo apt -y install libopencv-dev

Or if you have aptitude installed you can use the following command.

sudo aptitude install libopencv-dev

Summary

In this tutorial we learn how to fix opencv_interactive-calibration command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.