Repository navigation
Update dependencies, modernize some bits of code - #47
Conversation
…wise 3d plots don't render
Fix deprecated Axes3D usage
This seems to have been necessary during the change from using an Axes3D object to `plt.add_subplot(111, projection='3d')`. Before this commit, the 3D video would be a bit more zoomed out than it should have been, presumably because `tight_layout` wasn't working.
|
Hi @Dominic-DallOsto I'd be ready to merge these changes. I've confirmed that the results videos that this branch produces (running updated versions of python and many packeges) are visually identical to the ones generated by the master branch (running old versions of things). |
| def expand_videos(self): | ||
| """expands video camera_x.mp4 into set of images camera_x_img_y.jpg""" | ||
| for vid in glob.glob(os.path.join(self.input_folder, "camera_*.mp4")): | ||
| for vid in glob.glob(os.path.join(self.input_folder, "camera_?.mp4")): |
There was a problem hiding this comment.
I guess this limits us to only using up to 10 cameras, but from what I could tell that we use 7 cameras is quite baked in so I think this makes sense
|
Looks good! I'm trying to setup automated testing so just to check how you went about manually testing: you ran the code on the sample data using the current master and this branch, and compared if they looked the same? |
|
Yep. And I've been running this branch on "real" data and getting reasonable/expected results on it. |
Closes #43