I had another question. When trying to define ROI and when trying to define scale, I am met with an error:
KeyError Traceback (most recent call last)
in
----> 1 img_scl, video_dict['scale'] = lt.DistanceTool(video_dict)
2 img_scl
~/Various Documents/Vole Research Stuff/ezTrack-master/LocationTracking/LocationTracking_Functions.py in DistanceTool(video_dict)
2212 #Make reference image the base image on which to draw
2213 image = hv.Image((
-> 2214 np.arange(video_dict['reference'].shape[1]),
2215 np.arange(video_dict['reference'].shape[0]),
2216 video_dict['reference']))
KeyError: 'reference'
How might I resolve this?
Thank you again in advance!
This likely indicates that a reference hasn't been created. Please note that this has to be done every in each time you run a video and when you refresh the kernel.
Hello again!
Thanks for being so punctual with your replies!
I had another question. When trying to define ROI and when trying to define scale, I am met with an error:
KeyError Traceback (most recent call last)