mirror of
https://github.com/opencv/opencv.git
synced 2024-12-12 07:09:12 +08:00
15 lines
331 B
Python
15 lines
331 B
Python
#/usr/bin/env python
|
|
|
|
# add the hdr_parser to the path
|
|
import sys
|
|
sys.path.append(sys.argv[1])
|
|
|
|
# get the IO from the command line arguments
|
|
input_files = sys.argv[2:-1]
|
|
output_dir = sys.argv[-1]
|
|
|
|
# create the generator
|
|
from gen_matlab import MatlabWrapperGenerator
|
|
mwg = MatlabWrapperGenerator()
|
|
mwg.gen(input_files, output_dir)
|