Skip to content

Commit

Permalink
load results fcn
Browse files Browse the repository at this point in the history
  • Loading branch information
damaggu committed Nov 30, 2019
1 parent 41f9fbd commit 0f15fc7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions behaviopy/computervision.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@
'nd750_a0142']


def load_results(path):
"""
Load pickled results from videoprocessing session
:param path: path to .npy file from one video
:return: results dictionary
"""
return np.load(path, allow_pickle=True).item()

class VideoProcessor():
def __init__(self):
pass
Expand Down

0 comments on commit 0f15fc7

Please sign in to comment.