Skip to content

Instantly share code, notes, and snippets.

@mrgloom
Last active May 2, 2017 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrgloom/d591cf1bb506bbee2ee6a9b7a9713c5f to your computer and use it in GitHub Desktop.
Save mrgloom/d591cf1bb506bbee2ee6a9b7a9713c5f to your computer and use it in GitHub Desktop.
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