Skip to content

Commit 674fcb9

Browse files
committed
correct typos
1 parent 3ac6203 commit 674fcb9

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

pipeline.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@
1919

2020

2121
class Pipeline:
22+
""" Core fast-openISP pipeline """
23+
2224
def __init__(self, cfg):
25+
"""
26+
:param cfg: Config object, camera configuration
27+
"""
2328
self.cfg = cfg
2429

2530
saturation_values = self.get_saturation_values()
@@ -140,9 +145,9 @@ def get_output(self, data):
140145

141146
def run(self, raw_path, save_dir, load_raw_fn, suffix=''):
142147
"""
143-
A higher level API that write ISP result into disk
144-
:param raw_path: path to the raw file to be executed
145-
:param save_dir: directory to save the ISP output (the output will share the filename with input)
148+
A higher level API that writes ISP result into disk
149+
:param raw_path: path to the raw file to be processed
150+
:param save_dir: directory to save the output (the output will share the filename with input)
146151
:param load_raw_fn: function to load the Bayer array from the raw_path
147152
:param suffix: suffix to added to the output filename
148153
"""
@@ -159,7 +164,7 @@ def run(self, raw_path, save_dir, load_raw_fn, suffix=''):
159164

160165
def batch_run(self, raw_paths, save_dirs, load_raw_fn, suffixes='', num_processes=1):
161166
"""
162-
Batch execution with multiprocessing
167+
Batch running with multiprocessing
163168
:param raw_paths: list of paths to the raw files to be executed
164169
:param save_dirs: list of directories to save the outputs. If given a string, it will be copied
165170
to a N-element list, where N is the number of paths in raw_paths

0 commit comments

Comments
 (0)