Where is the dnn_superres.hpp located?

I am trying to add super sampling to my application using this tutorial:
https://docs.opencv.org/4.x/d5/d29/tutorial_dnn_superres_upscale_image_single.html

Unfortunately I can’t find the opencv2/dnn_superres.hpp to include to be able to use the feature. Downloaded And i tried downloading last version for here:

Still the file is not there. Please help! :slight_smile:

dnn_superres is part of the “extra” modules that live in the contrib repo.

you either need a build of OpenCV with contrib included (available for Python, not for C++), or you need to build OpenCV yourself and specify the extra modules path for the build.

Will give it a try thank you very much :slight_smile: