Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Find OpenCV function in headers and libs
#To find function in headers
grep -n -r <function_name> <path_to_opencv_include_folder>
#To find function in libs
nm -C -A <path_to_opencv_lib_folder>/*.so | grep <function_name> | grep -v U
#Find package installed via apt-get
apt list --installed | grep <package_name>
#Find files related to package
dpkg -L <package_name>
#Find package libs location
ldconfig -p | grep <part_of_lib_name>
#Find package installed via pip install
pip freeze | grep <package_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment