Essay Questions
- Describe the complete, step-by-step process for setting up an OpenCV development environment in Eclipse for a Java project. Detail the configuration of both the external JAR file and the native library path for DLL files.
- OpenCV provides a comprehensive suite of functions for drawing shapes and text on images. Select three distinct drawing operations (e.g., circle(), rectangle(), putText()) and for each, describe its purpose, syntax, and all required parameters as explained in the documentation.
- Compare and contrast the three primary image blurring techniques discussed: Averaging Blur, Gaussian Blur, and Median Blur. Explain how each method works, its primary use case for noise reduction, and the specific OpenCV function called for each.
- Explain the concept of image pyramids in OpenCV. Differentiate between the Pyramid Up and Pyramid Down operations, including the sequence of actions (blurring, up-sampling, down-sampling) and the specific functions (pyrUp(), pyrDown()) used for each.
- Detail the workflow for performing face detection on a static image. Explain the roles of the CascadeClassifier class, the pre-trained XML classifier file, and the detectMultiScale() method. Conclude by describing how the detected faces, returned as Rect objects, are used to draw bounding boxes on the original image.