Alex Chan
initial commit
999c5c9
raw
history blame contribute delete
559 Bytes
"""
DeepLabCut Toolbox (deeplabcut.org)
© A. & M. Mathis Labs
Licensed under GNU Lesser General Public License v3.0
"""
"""
Default processor class. Processors must contain two methods:
i) process: takes in a pose, performs operations, and returns a pose
ii) save: saves any internal data generated by the processor (such as timestamps for commands to external hardware)
"""
class Processor(object):
def __init__(self, **kwargs):
pass
def process(self, pose, **kwargs):
return pose
def save(self, file=""):
return 0