nesting: Added ability to display tensors of any rank as multiple windows. Added to readme. lowered opencv_python requirement due to char* assertion bug.

This commit is contained in:
SimLeek
2019-02-20 22:08:06 -07:00
parent 27c3f86e01
commit 147bf9aaff
5 changed files with 33 additions and 11 deletions
+7
View File
@@ -89,3 +89,10 @@ class TestSubWin(ut.TestCase):
t1.join()
t1.join()
def test_nested_frames(self):
def nest_frame(frame, cam_id):
frame = np.asarray([[[[[[frame]]]]]])
return frame
w.VideoHandlerThread(callbacks=[nest_frame] + w.display_callbacks).display()