For now I used StackOverFlow to write the cmake and reorder the project tree in feature/shared_labrary branch.
Currently there is a pkg conf file that I don't know if it is right.
Intended to write EXPORTS and installing rules in order to make find_package available for the library.
Have to compile and install OpenCV.
After this issue I could do some cleanups then rewrite the Readme.md in order to merge the feature/shared_library branch against main.