Ipyannotator
# default_exp right_menu_widget
@pytest.fixture def bbox_video_list_fixture(): return BBoxVideoList(['A', 'B'], f, f, f, f)
@pytest.fixture def readonly_fixture() -> BBoxList: bbox_list = BBoxList(['A', 'B'], BboxCoordinate(*[5, 5, 5, 10]), f, f, f, f, readonly=True) classes: List[List[str]] = [[], [], []] bbox_dict = [ {'x': 10, 'y': 10, 'width': 20, 'height': 30}, {'x': 20, 'y': 30, 'width': 10, 'height': 10}, {'x': 30, 'y': 30, 'width': 10, 'height': 10} ] bbox = [BboxCoordinate(**b) for b in bbox_dict] bbox_list.render_btn_list(bbox, classes) return bbox_list
previous
Navi Widget
next
Storage