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:
@@ -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()
|
||||
Reference in New Issue
Block a user