mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
313 B
11 lines
313 B
#!/bin/bash |
|
grep ".. cfunction::" *.rst -h | |
|
python -c "import sys |
|
print \"opencv_function_names = [\" |
|
for line in sys.stdin.readlines(): |
|
fname = line.split()[3].strip(' (') |
|
bpos = fname.find('(') |
|
if bpos >= 0: |
|
fname = fname[:bpos] |
|
print \"'%s',\" % fname |
|
print \"]\"" > function_names.py
|
|
|