mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 20:20:20 +08:00
13 lines
269 B
Python
13 lines
269 B
Python
#/usr/bin/env python
|
|
|
|
import sys
|
|
from gen_matlab import MatlabWrapperGenerator
|
|
|
|
# get the IO from the command line arguments
|
|
input_files = sys.argv[1:-1]
|
|
output_dir = sys.argv[-1]
|
|
|
|
# create the generator
|
|
mwg = MatlabWrapperGenerator()
|
|
mwg.gen(input_files, output_dir)
|