File: finding_function_names.py

package info (click to toggle)
python-imutils 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,652 kB
  • sloc: python: 1,178; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# author:    Adrian Rosebrock
# website:   http://www.pyimagesearch.com

# USAGE
# python finding_function_names.py

# import the necessary packages
from __future__ import print_function
import imutils

# loop over various function strings to search for and try to
# locate them in the OpenCV library
for funcName in ("contour", "box", "gaussian"):
	print("[INFO] Finding all functions that contain `{}`".format(funcName))
	imutils.find_function(funcName)
	print("")