kwcoco

Package Layout

  • kwcoco
    • kwcoco package
      • Subpackages
        • kwcoco.cli package
          • Submodules
            • kwcoco.cli.__main__ module
              • main()
            • kwcoco.cli.coco_conform module
              • CocoConformCLI
                • CocoConformCLI.main()
                • CocoConformCLI.default
            • kwcoco.cli.coco_eval module
              • CocoEvalCLI
                • CocoEvalCLI.main()
                • CocoEvalCLI.default
              • main()
              • build_confusion_datasets()
            • kwcoco.cli.coco_fixup module
              • CocoFixup
                • CocoFixup.main()
                • CocoFixup.default
              • find_corrupted_assets()
              • find_and_remove_corrupted_assets()
              • coco_img_remove_empty_assets()
              • remove_empty_videos()
              • remove_missing_assets()
              • main()
            • kwcoco.cli.coco_grab module
              • CocoGrabCLI
                • CocoGrabCLI.main()
                • CocoGrabCLI.default
            • kwcoco.cli.coco_info module
              • CocoFileHelper
                • CocoFileHelper._open()
                • CocoFileHelper._close()
              • CocoInfoCLI
                • CocoInfoCLI.main()
                • CocoInfoCLI.default
              • main()
            • kwcoco.cli.coco_modify_categories module
              • CocoModifyCatsCLI
                • CocoModifyCatsCLI.main()
                • CocoModifyCatsCLI.default
            • kwcoco.cli.coco_move module
              • CocoMove
                • CocoMove.main()
                • CocoMove.default
            • kwcoco.cli.coco_move_assets module
              • CocoMoveAssetsCLI
                • CocoMoveAssetsCLI.main()
                • CocoMoveAssetsCLI.default
              • CocoMoveAssetManager
                • CocoMoveAssetManager.submit()
                • CocoMoveAssetManager.find_impacted()
                • CocoMoveAssetManager.modify_datasets()
                • CocoMoveAssetManager.move_files()
                • CocoMoveAssetManager.dump_datasets()
                • CocoMoveAssetManager.run()
              • _is_relative_to_backport()
            • kwcoco.cli.coco_plot_stats module
              • PlotStatsCLI
                • PlotStatsCLI.main()
                • PlotStatsCLI.default
              • prep_plots()
              • run()
              • rerun_plots()
              • geospatial_stats()
              • build_stats_data()
              • Plots
                • Plots._plot_function_registery
                • Plots.demo()
                • Plots.resolve_options()
                • Plots.available_plot_funcs()
                • Plots.register()
                • Plots.run()
              • BuiltinPlots
                • BuiltinPlots.polygon_centroid_absolute_distribution()
                • BuiltinPlots.polygon_centroid_relative_distribution()
                • BuiltinPlots.polygon_centroid_absolute_distribution_jointplot()
                • BuiltinPlots.polygon_centroid_relative_distribution_jointplot()
                • BuiltinPlots.image_size_histogram()
                • BuiltinPlots.image_size_scatter()
                • BuiltinPlots.obox_size_distribution()
                • BuiltinPlots.obox_size_distribution_jointplot()
                • BuiltinPlots.obox_size_distribution_logscale()
                • BuiltinPlots.polygon_area_vs_num_verts()
                • BuiltinPlots.polygon_area_vs_num_verts_jointplot()
                • BuiltinPlots.polygon_area_vs_num_verts_jointplot_logscale()
                • BuiltinPlots.polygon_area_histogram_logscale()
                • BuiltinPlots.polygon_area_histogram()
                • BuiltinPlots.polygon_area_histogram_splity()
                • BuiltinPlots.polygon_num_vertices_histogram()
                • BuiltinPlots.anns_per_image_histogram()
                • BuiltinPlots.anns_per_image_histogram_splity()
                • BuiltinPlots.anns_per_image_histogram_ge1()
                • BuiltinPlots.images_over_time()
                • BuiltinPlots.images_timeofday_distribution()
                • BuiltinPlots.all_polygons()
              • polygon_shape_stats()
              • geometry_flatten()
              • geometry_length()
            • kwcoco.cli.coco_reroot module
              • CocoRerootCLI
                • CocoRerootCLI.main()
                • CocoRerootCLI.default
              • find_reroot_autofix()
              • _check_candidates()
            • kwcoco.cli.coco_show module
              • CocoShowCLI
                • CocoShowCLI.main()
                • CocoShowCLI.default
            • kwcoco.cli.coco_split module
              • CocoSplitCLI
                • CocoSplitCLI.main()
                • CocoSplitCLI.default
            • kwcoco.cli.coco_stats module
              • CocoStatsCLI
                • CocoStatsCLI.main()
                • CocoStatsCLI.default
            • kwcoco.cli.coco_subset module
              • CocoSubsetCLI
                • CocoSubsetCLI.main()
                • CocoSubsetCLI.default
              • query_subset()
            • kwcoco.cli.coco_toydata module
              • CocoToyDataCLI
                • CocoToyDataCLI.main()
                • CocoToyDataCLI.default
            • kwcoco.cli.coco_union module
              • CocoUnionCLI
                • CocoUnionCLI.main()
                • CocoUnionCLI.default
              • _postprocess_absolute()
            • kwcoco.cli.coco_validate module
              • CocoValidateCLI
                • CocoValidateCLI.main()
                • CocoValidateCLI.default
            • kwcoco.cli.find_unregistered_images module
              • FindUnregisteredImagesCLI
                • FindUnregisteredImagesCLI.main()
                • FindUnregisteredImagesCLI.default
              • find_unregistered_images()
              • _check_registered()
              • _find_existing_images()
              • _remove_empty_dirs()
              • main()
            • kwcoco.cli.finish_install module
              • FinishInstallCLI
                • FinishInstallCLI.main()
                • FinishInstallCLI.default
              • request_system_executables()
              • get_optional_requirements()
              • parse_requirements()
              • main()
          • Module contents
        • kwcoco.data package
          • Submodules
            • kwcoco.data.grab_camvid module
              • _devcheck_sample_full_image()
              • _devcheck_load_sub_image()
              • grab_camvid_train_test_val_splits()
              • grab_camvid_sampler()
              • grab_coco_camvid()
              • grab_raw_camvid()
              • rgb_to_cid()
              • cid_to_rgb()
              • convert_camvid_raw_to_coco()
              • _define_camvid_class_hierarcy()
              • main()
            • kwcoco.data.grab_cifar module
              • _convert_cifar_to_kwcoco()
              • convert_cifar10()
              • convert_cifar100()
              • main()
            • kwcoco.data.grab_datasets module
            • kwcoco.data.grab_domainnet module
              • grab_domain_net()
            • kwcoco.data.grab_spacenet module
              • grab_spacenet7()
              • convert_spacenet_to_kwcoco()
              • main()
            • kwcoco.data.grab_voc module
              • __torrent_voc()
              • convert_voc_to_coco()
              • _convert_voc_split()
              • _read_split_paths()
              • ensure_voc_data()
              • ensure_voc_coco()
              • main()
          • Module contents
        • kwcoco.demo package
          • Submodules
            • kwcoco.demo.boids module
              • Boids
                • Boids.initialize()
                • Boids.update_neighbors()
                • Boids.compute_forces()
                • Boids.boundary_conditions()
                • Boids.step()
                • Boids.paths()
              • clamp_mag()
              • triu_condense_multi_index()
              • _spatial_index_scratch()
              • closest_point_on_line_segment()
              • _pygame_render_boids()
              • _yeah_boid()
            • kwcoco.demo.perterb module
              • perterb_coco()
              • _demo_construct_probs()
            • kwcoco.demo.toydata module
              • demodata_toy_dset()
              • random_single_video_dset()
              • random_video_dset()
              • demodata_toy_img()
            • kwcoco.demo.toydata_image module
              • demodata_toy_dset()
              • demodata_toy_img()
            • kwcoco.demo.toydata_video module
              • random_video_dset()
              • random_single_video_dset()
              • populate_random_timestamps()
              • _draw_video_sequence()
              • render_toy_dataset()
              • render_toy_image()
              • render_foreground()
              • render_background()
              • false_color()
              • random_multi_object_path()
              • random_path()
            • kwcoco.demo.toypatterns module
              • CategoryPatterns
                • CategoryPatterns._default_categories
                • CategoryPatterns._default_keypoint_categories
                • CategoryPatterns._default_catnames
                • CategoryPatterns.coerce()
                • CategoryPatterns.index()
                • CategoryPatterns.get()
                • CategoryPatterns.random_category()
                • CategoryPatterns.render_category()
                • CategoryPatterns._todo_refactor_geometric_info()
                • CategoryPatterns._package_info()
                • CategoryPatterns._from_elem()
              • star()
              • Rasters
                • Rasters.superstar()
                • Rasters.eff()
          • Module contents
        • kwcoco.formats package
          • Submodules
            • kwcoco.formats.kpf module
              • coco_to_kpf()
              • KPFStream
                • KPFStream.demo_packets()
              • demo()
            • kwcoco.formats.kw18 module
              • KW18
                • KW18.DEFAULT_COLUMNS
                • KW18.demo()
                • KW18.from_coco()
                • KW18.to_coco()
                • KW18.load()
                • KW18.loads()
                • KW18.dump()
                • KW18.dumps()
              • _ensure_kw18_column_order()
            • kwcoco.formats.labelme module
              • labelme_to_coco_structure()
              • LabelMeFile
                • LabelMeFile.demo()
                • LabelMeFile.empty()
                • LabelMeFile.load()
                • LabelMeFile.multiple_from_coco()
                • LabelMeFile.reroot()
                • LabelMeFile.from_coco()
                • LabelMeFile.add_to_coco()
                • LabelMeFile.to_coco()
                • LabelMeFile.add_polygon()
                • LabelMeFile.add_rectangle()
                • LabelMeFile.dump()
                • LabelMeFile.dumps()
            • kwcoco.formats.voc module
              • read_voc_image()
              • add_vocdata_to_coco()
            • kwcoco.formats.webdataset module
          • Module contents
        • kwcoco.metrics package
          • Submodules
            • kwcoco.metrics.assignment module
              • _assign_confusion_vectors()
              • _critical_loop()
              • _fast_pdist_priority()
              • _filter_ignore_regions()
            • kwcoco.metrics.clf_report module
              • classification_report()
              • ovr_classification_report()
            • kwcoco.metrics.confusion_measures module
              • Measures
                • Measures.catname
                • Measures.reconstruct()
                • Measures.from_json()
                • Measures.summary()
                • Measures.maximized_thresholds()
                • Measures.scalars()
                • Measures.counts()
                • Measures.draw()
                • Measures.summary_plot()
                • Measures.demo()
                • Measures.combine()
              • _combine_threshold()
              • reversable_diff()
              • PerClass_Measures
                • PerClass_Measures.summary()
                • PerClass_Measures.from_json()
                • PerClass_Measures.draw()
                • PerClass_Measures.draw_roc()
                • PerClass_Measures.draw_pr()
                • PerClass_Measures.summary_plot()
              • MeasureCombiner
                • MeasureCombiner.queue_size
                • MeasureCombiner.submit()
                • MeasureCombiner.combine()
                • MeasureCombiner.finalize()
              • OneVersusRestMeasureCombiner
                • OneVersusRestMeasureCombiner.submit()
                • OneVersusRestMeasureCombiner._summary()
                • OneVersusRestMeasureCombiner.combine()
                • OneVersusRestMeasureCombiner.finalize()
              • populate_info()
            • kwcoco.metrics.confusion_vectors module
              • ConfusionVectors
                • ConfusionVectors.pandas()
                • ConfusionVectors.from_json()
                • ConfusionVectors.demo()
                • ConfusionVectors.from_arrays()
                • ConfusionVectors.confusion_matrix()
                • ConfusionVectors.coarsen()
                • ConfusionVectors.binarize_classless()
                • ConfusionVectors.binarize_ovr()
                • ConfusionVectors.classification_report()
              • OneVsRestConfusionVectors
                • OneVsRestConfusionVectors.demo()
                • OneVsRestConfusionVectors.keys()
                • OneVsRestConfusionVectors.measures()
                • OneVsRestConfusionVectors.ovr_classification_report()
              • BinaryConfusionVectors
                • BinaryConfusionVectors.demo()
                • BinaryConfusionVectors.catname
                • BinaryConfusionVectors.measures()
                • BinaryConfusionVectors._binary_clf_curves()
                • BinaryConfusionVectors.draw_distribution()
                • BinaryConfusionVectors._3dplot()
              • _stabalize_data()
            • kwcoco.metrics.detect_metrics module
              • DetectionMetrics
                • DetectionMetrics.clear()
                • DetectionMetrics.enrich_confusion_vectors()
                • DetectionMetrics.from_coco()
                • DetectionMetrics._register_imagename()
                • DetectionMetrics.add_predictions()
                • DetectionMetrics.add_truth()
                • DetectionMetrics.true_detections()
                • DetectionMetrics.pred_detections()
                • DetectionMetrics.classes
                • DetectionMetrics.confusion_vectors()
                • DetectionMetrics.score_kwant()
                • DetectionMetrics.score_kwcoco()
                • DetectionMetrics.score_voc()
                • DetectionMetrics._to_coco()
                • DetectionMetrics.score_pycocotools()
                • DetectionMetrics.score_coco()
                • DetectionMetrics.demo()
                • DetectionMetrics.summarize()
              • _demo_construct_probs()
              • pycocotools_confusion_vectors()
              • eval_detections_cli()
              • _summarize()
              • pct_summarize2()
            • kwcoco.metrics.drawing module
              • draw_perclass_roc()
              • demo_format_options()
              • concice_si_display()
              • format_scientific_notation()
              • _realpos_label_suffix()
              • draw_perclass_prcurve()
              • draw_perclass_thresholds()
              • draw_roc()
              • draw_prcurve()
              • draw_threshold_curves()
              • determenistic_colors()
            • kwcoco.metrics.functional module
              • fast_confusion_matrix()
              • _truncated_roc()
              • _pr_curves()
              • _average_precision()
            • kwcoco.metrics.segmentation_metrics module
              • SegmentationEvalConfig
                • SegmentationEvalConfig.default
              • main()
              • SingleImageSegmentationMetrics
                • SingleImageSegmentationMetrics.run()
                • SingleImageSegmentationMetrics.resolve_config_variables()
                • SingleImageSegmentationMetrics.prepare_common_truth()
                • SingleImageSegmentationMetrics.build_saliency_masks()
                • SingleImageSegmentationMetrics.build_class_masks()
                • SingleImageSegmentationMetrics.score_saliency_masks()
                • SingleImageSegmentationMetrics.score_class_masks()
              • single_image_segmentation_metrics()
              • _memo_legend()
              • draw_confusion_image()
              • colorize_class_probs()
              • draw_truth_borders()
              • draw_chunked_confusion()
              • dump_chunked_confusion()
              • evaluate_segmentations()
              • _redraw_measures()
              • _max_digits()
              • associate_images()
              • build_image_header_text()
              • ensure_heuristic_coco_colors()
              • ensure_heuristic_category_tree_colors()
              • _ensure_distinct_dict_colors()
              • colorize_weights()
              • _poc_online_binary_saliency_measures_demo()
            • kwcoco.metrics.sklearn_alts module
              • confusion_matrix()
              • global_accuracy_from_confusion()
              • class_accuracy_from_confusion()
              • _binary_clf_curve2()
            • kwcoco.metrics.voc_metrics module
              • VOC_Metrics
                • VOC_Metrics.add_truth()
                • VOC_Metrics.add_predictions()
                • VOC_Metrics.score()
              • _pr_curves()
              • _voc_eval()
              • _voc_ave_precision()
          • Module contents
            • BinaryConfusionVectors
              • BinaryConfusionVectors._3dplot()
              • BinaryConfusionVectors._binary_clf_curves()
              • BinaryConfusionVectors.catname
              • BinaryConfusionVectors.demo()
              • BinaryConfusionVectors.draw_distribution()
              • BinaryConfusionVectors.measures()
            • ConfusionVectors
              • ConfusionVectors.binarize_classless()
              • ConfusionVectors.binarize_ovr()
              • ConfusionVectors.classification_report()
              • ConfusionVectors.coarsen()
              • ConfusionVectors.confusion_matrix()
              • ConfusionVectors.demo()
              • ConfusionVectors.from_arrays()
              • ConfusionVectors.from_json()
              • ConfusionVectors.pandas()
            • DetectionMetrics
              • DetectionMetrics._register_imagename()
              • DetectionMetrics._to_coco()
              • DetectionMetrics.add_predictions()
              • DetectionMetrics.add_truth()
              • DetectionMetrics.classes
              • DetectionMetrics.clear()
              • DetectionMetrics.confusion_vectors()
              • DetectionMetrics.demo()
              • DetectionMetrics.enrich_confusion_vectors()
              • DetectionMetrics.from_coco()
              • DetectionMetrics.pred_detections()
              • DetectionMetrics.score_coco()
              • DetectionMetrics.score_kwant()
              • DetectionMetrics.score_kwcoco()
              • DetectionMetrics.score_pycocotools()
              • DetectionMetrics.score_voc()
              • DetectionMetrics.summarize()
              • DetectionMetrics.true_detections()
            • Measures
              • Measures.catname
              • Measures.combine()
              • Measures.counts()
              • Measures.demo()
              • Measures.draw()
              • Measures.from_json()
              • Measures.maximized_thresholds()
              • Measures.reconstruct()
              • Measures.scalars()
              • Measures.summary()
              • Measures.summary_plot()
            • OneVsRestConfusionVectors
              • OneVsRestConfusionVectors.demo()
              • OneVsRestConfusionVectors.keys()
              • OneVsRestConfusionVectors.measures()
              • OneVsRestConfusionVectors.ovr_classification_report()
            • PerClass_Measures
              • PerClass_Measures.draw()
              • PerClass_Measures.draw_pr()
              • PerClass_Measures.draw_roc()
              • PerClass_Measures.from_json()
              • PerClass_Measures.summary()
              • PerClass_Measures.summary_plot()
            • eval_detections_cli()
        • kwcoco.rc package
          • Subpackages
            • kwcoco.rc.requirements package
              • Module contents
          • Submodules
            • kwcoco.rc.registry module
              • requirement_path()
          • Module contents
        • kwcoco.util package
          • Subpackages
            • kwcoco.util.delayed_ops package
              • Module contents
                • DelayedArray
                  • DelayedArray.meta
                  • DelayedArray._opt_logs
                  • DelayedArray.subdata
                • DelayedAsXarray
                  • DelayedAsXarray.meta
                  • DelayedAsXarray._opt_logs
                  • DelayedAsXarray.subdata
                  • DelayedAsXarray._finalize()
                  • DelayedAsXarray.optimize()
                • DelayedChannelConcat
                  • DelayedChannelConcat.meta
                  • DelayedChannelConcat._opt_logs
                  • DelayedChannelConcat.parts
                  • DelayedChannelConcat.dsize
                  • DelayedChannelConcat.num_channels
                  • DelayedChannelConcat._finalize()
                  • DelayedChannelConcat._push_operation_under()
                  • DelayedChannelConcat._validate()
                  • DelayedChannelConcat.as_xarray()
                  • DelayedChannelConcat.channels
                  • DelayedChannelConcat.num_overviews
                  • DelayedChannelConcat.optimize()
                  • DelayedChannelConcat.shape
                  • DelayedChannelConcat.take_channels()
                  • DelayedChannelConcat.undo_warps()
                • DelayedConcat
                  • DelayedConcat.meta
                  • DelayedConcat._opt_logs
                  • DelayedConcat.parts
                • DelayedCrop
                  • DelayedCrop.meta
                  • DelayedCrop._opt_logs
                  • DelayedCrop.subdata
                  • DelayedCrop._finalize()
                  • DelayedCrop._opt_dequant_after_crop()
                  • DelayedCrop._opt_fuse_crops()
                  • DelayedCrop._opt_warp_after_crop()
                  • DelayedCrop._transform_from_subdata()
                  • DelayedCrop.optimize()
                • DelayedDequantize
                  • DelayedDequantize.meta
                  • DelayedDequantize._opt_logs
                  • DelayedDequantize.subdata
                  • DelayedDequantize._finalize()
                  • DelayedDequantize._opt_dequant_before_other()
                  • DelayedDequantize._transform_from_subdata()
                  • DelayedDequantize.optimize()
                • DelayedFrameStack
                  • DelayedFrameStack.meta
                  • DelayedFrameStack._opt_logs
                  • DelayedFrameStack.parts
                • DelayedIdentity
                  • DelayedIdentity.meta
                  • DelayedIdentity._opt_logs
                  • DelayedIdentity.subdata
                  • DelayedIdentity.data
                  • DelayedIdentity._finalize()
                • DelayedImage
                  • DelayedImage.meta
                  • DelayedImage._opt_logs
                  • DelayedImage.subdata
                  • DelayedImage._opt_push_under_concat()
                  • DelayedImage._transform_from_subdata()
                  • DelayedImage._validate()
                  • DelayedImage.channels
                  • DelayedImage.dsize
                  • DelayedImage.evaluate()
                  • DelayedImage.get_transform_from_leaf()
                  • DelayedImage.num_channels
                  • DelayedImage.num_overviews
                  • DelayedImage.shape
                  • DelayedImage.take_channels()
                  • DelayedImage.undo_warp()
                • DelayedImageLeaf
                  • DelayedImageLeaf.meta
                  • DelayedImageLeaf._opt_logs
                  • DelayedImageLeaf.subdata
                  • DelayedImageLeaf.get_transform_from_leaf()
                  • DelayedImageLeaf.optimize()
                • DelayedLoad
                  • DelayedLoad.meta
                  • DelayedLoad._opt_logs
                  • DelayedLoad.subdata
                  • DelayedLoad.lazy_ref
                  • DelayedLoad._finalize()
                  • DelayedLoad._load_metadata()
                  • DelayedLoad._load_reference()
                  • DelayedLoad.demo()
                  • DelayedLoad.fpath
                  • DelayedLoad.prepare()
                • DelayedNans
                  • DelayedNans.meta
                  • DelayedNans._opt_logs
                  • DelayedNans.subdata
                  • DelayedNans._kwargs
                  • DelayedNans._finalize()
                  • DelayedNans._optimized_crop()
                  • DelayedNans._optimized_warp()
                • DelayedNaryOperation
                  • DelayedNaryOperation.meta
                  • DelayedNaryOperation._opt_logs
                  • DelayedNaryOperation.parts
                  • DelayedNaryOperation.children()
                • DelayedOperation
                  • DelayedOperation.meta
                  • DelayedOperation._opt_logs
                  • DelayedOperation._finalize()
                  • DelayedOperation._leaf_paths()
                  • DelayedOperation._leafs()
                  • DelayedOperation._set_nested_params()
                  • DelayedOperation._traverse()
                  • DelayedOperation._traversed_graph()
                  • DelayedOperation.as_graph()
                  • DelayedOperation.children()
                  • DelayedOperation.finalize()
                  • DelayedOperation.leafs()
                  • DelayedOperation.nesting()
                  • DelayedOperation.optimize()
                  • DelayedOperation.prepare()
                  • DelayedOperation.print_graph()
                  • DelayedOperation.shape
                  • DelayedOperation.write_network_text()
                • DelayedOverview
                  • DelayedOverview.meta
                  • DelayedOverview._opt_logs
                  • DelayedOverview.subdata
                  • DelayedOverview._finalize()
                  • DelayedOverview._opt_crop_after_overview()
                  • DelayedOverview._opt_dequant_after_overview()
                  • DelayedOverview._opt_fuse_overview()
                  • DelayedOverview._opt_overview_as_warp()
                  • DelayedOverview._opt_warp_after_overview()
                  • DelayedOverview._transform_from_subdata()
                  • DelayedOverview.num_overviews
                  • DelayedOverview.optimize()
                • DelayedStack
                  • DelayedStack.meta
                  • DelayedStack._opt_logs
                  • DelayedStack.parts
                • DelayedUnaryOperation
                  • DelayedUnaryOperation.meta
                  • DelayedUnaryOperation._opt_logs
                  • DelayedUnaryOperation.subdata
                  • DelayedUnaryOperation.children()
                • DelayedWarp
                  • DelayedWarp.meta
                  • DelayedWarp._opt_logs
                  • DelayedWarp.subdata
                  • DelayedWarp._data_keys
                  • DelayedWarp._algo_keys
                  • DelayedWarp._finalize()
                  • DelayedWarp._opt_absorb_overview()
                  • DelayedWarp._opt_fuse_warps()
                  • DelayedWarp._opt_split_warp_overview()
                  • DelayedWarp._transform_from_subdata()
                  • DelayedWarp.optimize()
                  • DelayedWarp.transform
                • ImageOpsMixin
                  • ImageOpsMixin._coordinate_crop()
                  • ImageOpsMixin._padded_crop()
                  • ImageOpsMixin.as_xarray()
                  • ImageOpsMixin.crop()
                  • ImageOpsMixin.dequantize()
                  • ImageOpsMixin.get_overview()
                  • ImageOpsMixin.get_transform_from()
                  • ImageOpsMixin.resize()
                  • ImageOpsMixin.scale()
                  • ImageOpsMixin.warp()
          • Submodules
            • kwcoco.util.dict_like module
              • DictLike
                • DictLike.getitem()
                • DictLike.setitem()
                • DictLike.delitem()
                • DictLike.keys()
                • DictLike.items()
                • DictLike.values()
                • DictLike.copy()
                • DictLike.to_dict()
                • DictLike.asdict()
                • DictLike.update()
                • DictLike.get()
              • DictProxy
                • DictProxy.keys()
            • kwcoco.util.dict_proxy2 module
              • DictInterface
                • DictInterface.keys()
                • DictInterface.items()
                • DictInterface.values()
                • DictInterface.update()
                • DictInterface.get()
                • DictInterface.pop()
              • DictProxy2
                • DictProxy2.keys()
              • _AliasMetaclass
              • AliasedDictProxy
                • AliasedDictProxy.keys()
            • kwcoco.util.ijson_ext module
              • UnexpectedSymbol
              • utf8_encoder()
              • Lexer()
              • parse_value()
              • parse_string()
              • basic_parse_basecoro()
            • kwcoco.util.jsonschema_elements module
              • Element
                • Element.__call__()
                • Element.validate()
              • ScalarElements
                • ScalarElements.NULL
                • ScalarElements.BOOLEAN
                • ScalarElements.STRING
                • ScalarElements.NUMBER
                • ScalarElements.INTEGER
              • QuantifierElements
                • QuantifierElements.ANY
                • QuantifierElements.ALLOF()
                • QuantifierElements.ANYOF()
                • QuantifierElements.ONEOF()
                • QuantifierElements.NOT()
              • ContainerElements
                • ContainerElements.ARRAY()
                • ContainerElements.OBJECT()
              • SchemaElements
              • ALLOF()
              • ANYOF()
              • ARRAY()
              • NOT()
              • OBJECT()
              • ONEOF()
            • kwcoco.util.lazy_frame_backends module
            • kwcoco.util.util_archive module
              • Archive
                • Archive._available_backends
                • Archive._open()
                • Archive.names()
                • Archive.read()
                • Archive.coerce()
                • Archive.add()
                • Archive.close()
                • Archive.extractall()
              • unarchive_file()
              • _available_zipfile_compressions()
              • _coerce_zipfile_compression()
            • kwcoco.util.util_deprecate module
              • deprecated_function_alias()
              • migrate_argnames()
            • kwcoco.util.util_eval module
              • RestrictedSyntaxError
              • restricted_eval()
            • kwcoco.util.util_futures module
              • Executor
                • Executor.map()
                • Executor.shutdown()
                • Executor.submit()
              • JobPool
                • JobPool._clear_completed()
                • JobPool.as_completed()
                • JobPool.join()
                • JobPool.shutdown()
                • JobPool.submit()
            • kwcoco.util.util_json module
              • ensure_json_serializable()
              • find_json_unserializable()
              • indexable_allclose()
              • Difference
                • Difference.path
                • Difference.value1
                • Difference.value2
                • Difference._asdict()
                • Difference._field_defaults
                • Difference._fields
                • Difference._make()
                • Difference._replace()
              • indexable_diff()
              • coerce_indent()
            • kwcoco.util.util_kwutil module
              • _DelayedFuture
                • _DelayedFuture.result()
              • _DelayedBlockingJobQueue
                • _DelayedBlockingJobQueue.submit()
                • _DelayedBlockingJobQueue._submit_if_room()
                • _DelayedBlockingJobQueue._job_result_accessed_callback()
                • _DelayedBlockingJobQueue.shutdown()
              • _MaxQueuePool
                • _MaxQueuePool.submit()
                • _MaxQueuePool.pool_queue_callback()
                • _MaxQueuePool.shutdown()
            • kwcoco.util.util_monkey module
              • SupressPrint
              • Reloadable
                • Reloadable.add_metaclass()
                • Reloadable.developing()
            • kwcoco.util.util_networkx module
              • _AsciiBaseGlyphs
                • _AsciiBaseGlyphs.empty
                • _AsciiBaseGlyphs.newtree_last
                • _AsciiBaseGlyphs.newtree_mid
                • _AsciiBaseGlyphs.endof_forest
                • _AsciiBaseGlyphs.within_forest
                • _AsciiBaseGlyphs.within_tree
              • AsciiDirectedGlyphs
                • AsciiDirectedGlyphs.last
                • AsciiDirectedGlyphs.mid
                • AsciiDirectedGlyphs.backedge
              • AsciiUndirectedGlyphs
                • AsciiUndirectedGlyphs.last
                • AsciiUndirectedGlyphs.mid
                • AsciiUndirectedGlyphs.backedge
              • _UtfBaseGlyphs
                • _UtfBaseGlyphs.empty
                • _UtfBaseGlyphs.newtree_last
                • _UtfBaseGlyphs.newtree_mid
                • _UtfBaseGlyphs.endof_forest
                • _UtfBaseGlyphs.within_forest
                • _UtfBaseGlyphs.within_tree
              • UtfDirectedGlyphs
                • UtfDirectedGlyphs.last
                • UtfDirectedGlyphs.mid
                • UtfDirectedGlyphs.backedge
              • UtfUndirectedGlyphs
                • UtfUndirectedGlyphs.last
                • UtfUndirectedGlyphs.mid
                • UtfUndirectedGlyphs.backedge
              • generate_network_text()
              • write_network_text()
              • _find_sources()
            • kwcoco.util.util_parallel module
              • coerce_num_workers()
            • kwcoco.util.util_reroot module
              • special_reroot_single()
              • resolve_relative_to()
              • resolve_directory_symlinks()
            • kwcoco.util.util_rich module
              • _get_rich_print()
              • rich_print()
            • kwcoco.util.util_sklearn module
              • StratifiedGroupKFold
                • StratifiedGroupKFold._make_test_folds()
                • StratifiedGroupKFold._iter_test_masks()
                • StratifiedGroupKFold.split()
                • StratifiedGroupKFold._abc_impl
            • kwcoco.util.util_special_json module
              • _json_dumps()
              • _json_lines_dumps()
              • _special_kwcoco_pretty_dumps_orig()
            • kwcoco.util.util_truncate module
              • _trunc_op()
              • smart_truncate()
            • kwcoco.util.util_windows module
              • fix_msys_path()
              • is_windows_path()
          • Module contents
            • ALLOF()
            • ANYOF()
            • ARRAY()
            • Archive
              • Archive._available_backends
              • Archive._open()
              • Archive.add()
              • Archive.close()
              • Archive.coerce()
              • Archive.extractall()
              • Archive.names()
              • Archive.read()
            • ContainerElements
              • ContainerElements.ARRAY()
              • ContainerElements.OBJECT()
            • DictLike
              • DictLike.asdict()
              • DictLike.copy()
              • DictLike.delitem()
              • DictLike.get()
              • DictLike.getitem()
              • DictLike.items()
              • DictLike.keys()
              • DictLike.setitem()
              • DictLike.to_dict()
              • DictLike.update()
              • DictLike.values()
            • Element
              • Element.__call__()
              • Element.validate()
            • IndexableWalker
              • IndexableWalker._abc_impl
              • IndexableWalker._walk()
              • IndexableWalker.allclose()
              • IndexableWalker.diff()
              • IndexableWalker.keys()
              • IndexableWalker.send()
              • IndexableWalker.throw()
              • IndexableWalker.values()
            • NOT()
            • OBJECT()
            • ONEOF()
            • QuantifierElements
              • QuantifierElements.ALLOF()
              • QuantifierElements.ANY
              • QuantifierElements.ANYOF()
              • QuantifierElements.NOT()
              • QuantifierElements.ONEOF()
            • ScalarElements
              • ScalarElements.BOOLEAN
              • ScalarElements.INTEGER
              • ScalarElements.NULL
              • ScalarElements.NUMBER
              • ScalarElements.STRING
            • SchemaElements
            • StratifiedGroupKFold
              • StratifiedGroupKFold._abc_impl
              • StratifiedGroupKFold._iter_test_masks()
              • StratifiedGroupKFold._make_test_folds()
              • StratifiedGroupKFold.split()
            • ensure_json_serializable()
            • find_json_unserializable()
            • indexable_allclose()
            • resolve_directory_symlinks()
            • resolve_relative_to()
            • smart_truncate()
            • special_reroot_single()
            • unarchive_file()
      • Submodules
        • kwcoco.__main__ module
        • kwcoco._helpers module
          • _NextId
            • _NextId._update_unused()
            • _NextId.get()
          • _ID_Remapper
            • _ID_Remapper.remap()
            • _ID_Remapper.block_seen()
            • _ID_Remapper.next_id()
          • UniqueNameRemapper
            • UniqueNameRemapper.remap()
          • _CategoryID_Remapper
            • _CategoryID_Remapper.remap()
          • _lut_image_frame_index()
          • _lut_frame_index()
          • _lut_annot_frame_index()
          • SortedSet
            • SortedSet._abc_impl
          • SortedSetQuiet
          • _delitems()
          • _load_and_postprocess()
          • _image_corruption_check()
          • _query_image_ids()
        • kwcoco.abstract_coco_dataset module
          • AbstractCocoDataset
            • AbstractCocoDataset._abc_impl
        • kwcoco.category_tree module
          • CategoryTree
            • CategoryTree.copy()
            • CategoryTree.from_mutex()
            • CategoryTree.from_json()
            • CategoryTree.from_coco()
            • CategoryTree.coerce()
            • CategoryTree.demo()
            • CategoryTree.to_coco()
            • CategoryTree.id_to_idx
            • CategoryTree.idx_to_id
            • CategoryTree.idx_to_ancestor_idxs()
            • CategoryTree.idx_to_descendants_idxs()
            • CategoryTree.idx_pairwise_distance()
            • CategoryTree.is_mutex()
            • CategoryTree.num_classes
            • CategoryTree.class_names
            • CategoryTree.category_names
            • CategoryTree.cats
            • CategoryTree.index()
            • CategoryTree.take()
            • CategoryTree.subgraph()
            • CategoryTree._build_index()
            • CategoryTree.show()
            • CategoryTree.forest_str()
            • CategoryTree.print_graph()
            • CategoryTree.normalize()
        • kwcoco.channel_spec module
        • kwcoco.coco_dataset module
          • MixinCocoDepricate
            • MixinCocoDepricate.keypoint_annotation_frequency()
            • MixinCocoDepricate.category_annotation_type_frequency()
            • MixinCocoDepricate.imread()
          • MixinCocoAccessors
            • MixinCocoAccessors.delayed_load()
            • MixinCocoAccessors.load_image()
            • MixinCocoAccessors.get_image_fpath()
            • MixinCocoAccessors._get_img_auxiliary()
            • MixinCocoAccessors.get_auxiliary_fpath()
            • MixinCocoAccessors.load_annot_sample()
            • MixinCocoAccessors._resolve_to_id()
            • MixinCocoAccessors._resolve_to_cid()
            • MixinCocoAccessors._resolve_to_gid()
            • MixinCocoAccessors._resolve_to_vidid()
            • MixinCocoAccessors._resolve_to_trackid()
            • MixinCocoAccessors._resolve_to_ann()
            • MixinCocoAccessors._resolve_to_img()
            • MixinCocoAccessors._resolve_to_kpcat()
            • MixinCocoAccessors._resolve_to_cat()
            • MixinCocoAccessors._alias_to_cat()
            • MixinCocoAccessors.category_graph()
            • MixinCocoAccessors.object_categories()
            • MixinCocoAccessors.keypoint_categories()
            • MixinCocoAccessors._keypoint_category_names()
            • MixinCocoAccessors._lookup_kpnames()
            • MixinCocoAccessors._coco_image()
            • MixinCocoAccessors.coco_image()
          • MixinCocoConstructors
            • MixinCocoConstructors.coerce()
            • MixinCocoConstructors.demo()
            • MixinCocoConstructors.random()
            • MixinCocoConstructors.empty()
            • MixinCocoConstructors.load()
            • MixinCocoConstructors.from_data()
            • MixinCocoConstructors.from_image_paths()
            • MixinCocoConstructors.from_class_image_paths()
            • MixinCocoConstructors.coerce_multiple()
            • MixinCocoConstructors.load_multiple()
            • MixinCocoConstructors._load_multiple()
            • MixinCocoConstructors.from_coco_paths()
          • MixinCocoExtras
            • MixinCocoExtras._tree()
            • MixinCocoExtras._dataset_id()
            • MixinCocoExtras._ensure_imgsize()
            • MixinCocoExtras._ensure_image_data()
            • MixinCocoExtras.missing_images()
            • MixinCocoExtras.corrupted_images()
            • MixinCocoExtras.normalize_category_ids()
            • MixinCocoExtras.rename_categories()
            • MixinCocoExtras._ensure_json_serializable()
            • MixinCocoExtras._aspycoco()
            • MixinCocoExtras.reroot()
            • MixinCocoExtras.data_root
            • MixinCocoExtras.img_root
            • MixinCocoExtras.data_fpath
          • MixinCocoHashing
            • MixinCocoHashing._build_hashid()
            • MixinCocoHashing._invalidate_hashid()
            • MixinCocoHashing._cached_hashid()
            • MixinCocoHashing._cached_hashid_for()
          • MixinCocoObjects
            • MixinCocoObjects.annots()
            • MixinCocoObjects.images()
            • MixinCocoObjects.categories()
            • MixinCocoObjects.videos()
            • MixinCocoObjects.tracks()
          • MixinCocoStats
            • MixinCocoStats.n_annots
            • MixinCocoStats.n_images
            • MixinCocoStats.n_cats
            • MixinCocoStats.n_tracks
            • MixinCocoStats.n_videos
            • MixinCocoStats.category_annotation_frequency()
            • MixinCocoStats.conform()
            • MixinCocoStats.validate()
            • MixinCocoStats.stats()
            • MixinCocoStats.basic_stats()
            • MixinCocoStats.extended_stats()
            • MixinCocoStats.boxsize_stats()
            • MixinCocoStats.find_representative_images()
          • MixinCocoDraw
            • MixinCocoDraw.draw_image()
            • MixinCocoDraw.show_image()
          • _normalize_intensity_if_needed()
          • MixinCocoAddRemove
            • MixinCocoAddRemove.add_video()
            • MixinCocoAddRemove.add_image()
            • MixinCocoAddRemove.add_asset()
            • MixinCocoAddRemove.add_auxiliary_item()
            • MixinCocoAddRemove.add_annotation()
            • MixinCocoAddRemove.add_category()
            • MixinCocoAddRemove.add_track()
            • MixinCocoAddRemove.ensure_video()
            • MixinCocoAddRemove.ensure_track()
            • MixinCocoAddRemove.ensure_image()
            • MixinCocoAddRemove.ensure_category()
            • MixinCocoAddRemove.add_categories()
            • MixinCocoAddRemove.add_keypoint_categories()
            • MixinCocoAddRemove.add_annotations()
            • MixinCocoAddRemove.add_images()
            • MixinCocoAddRemove.clear_images()
            • MixinCocoAddRemove.clear_annotations()
            • MixinCocoAddRemove.remove_annotation()
            • MixinCocoAddRemove.remove_annotations()
            • MixinCocoAddRemove.remove_categories()
            • MixinCocoAddRemove.remove_tracks()
            • MixinCocoAddRemove.remove_images()
            • MixinCocoAddRemove.remove_videos()
            • MixinCocoAddRemove.remove_annotation_keypoints()
            • MixinCocoAddRemove.remove_keypoint_categories()
            • MixinCocoAddRemove.set_annotation_category()
          • CocoIndex
            • CocoIndex._set
            • CocoIndex._images_set_sorted_by_frame_index()
            • CocoIndex._set_sorted_by_frame_index()
            • CocoIndex._annots_set_sorted_by_frame_index()
            • CocoIndex.cid_to_gids
            • CocoIndex._add_video()
            • CocoIndex._add_image()
            • CocoIndex._add_images()
            • CocoIndex._add_annotation()
            • CocoIndex._add_keypoint_categories()
            • CocoIndex._add_categories()
            • CocoIndex._add_annotations()
            • CocoIndex._add_category()
            • CocoIndex._add_track()
            • CocoIndex._remove_all_annotations()
            • CocoIndex._remove_all_images()
            • CocoIndex._remove_keypoint_categories()
            • CocoIndex._remove_annotations()
            • CocoIndex._remove_tracks()
            • CocoIndex._remove_categories()
            • CocoIndex._remove_images()
            • CocoIndex._remove_videos()
            • CocoIndex.clear()
            • CocoIndex.build()
          • MixinCocoIndex
            • MixinCocoIndex.anns
            • MixinCocoIndex.imgs
            • MixinCocoIndex.cats
            • MixinCocoIndex.gid_to_aids
            • MixinCocoIndex.cid_to_aids
            • MixinCocoIndex.name_to_cat
          • CocoDataset
            • CocoDataset.fpath
            • CocoDataset._update_fpath()
            • CocoDataset._infer_dirs()
            • CocoDataset.copy()
            • CocoDataset.dumps()
            • CocoDataset._compress_dump_to_fileptr()
            • CocoDataset._dump()
            • CocoDataset.dump()
            • CocoDataset._check_json_serializable()
            • CocoDataset._check_integrity()
            • CocoDataset._check_warnables()
            • CocoDataset._check_index()
            • CocoDataset._check_pointers()
            • CocoDataset._build_index()
            • CocoDataset._abc_impl
            • CocoDataset.rebuild_index()
            • CocoDataset.union()
            • CocoDataset.subset()
            • CocoDataset.view_sql()
          • demo_coco_data()
        • kwcoco.coco_evaluator module
          • CocoEvalConfig
            • CocoEvalConfig.default
            • CocoEvalConfig.normalize()
          • CocoEvaluator
            • CocoEvaluator.log()
            • CocoEvaluator._init()
            • CocoEvaluator._ensure_init()
            • CocoEvaluator._rectify_classes()
            • CocoEvaluator._coerce_dets()
            • CocoEvaluator._build_dmet()
            • CocoEvaluator.evaluate()
          • dmet_area_weights()
          • CocoResults
            • CocoResults.dump_figures()
            • CocoResults.from_json()
            • CocoResults.dump()
          • CocoSingleResult
            • CocoSingleResult.from_json()
            • CocoSingleResult.dump()
            • CocoSingleResult.dump_figures()
          • _writefig()
          • _load_dets()
          • _load_dets_worker()
        • kwcoco.coco_image module
          • _CocoObject
            • _CocoObject.bundle_dpath
            • _CocoObject.detach()
          • CocoImage
            • CocoImage.from_gid()
            • CocoImage.video
            • CocoImage.name
            • CocoImage.detach()
            • CocoImage.assets
            • CocoImage.datetime
            • CocoImage.annots()
            • CocoImage.stats()
            • CocoImage.get()
            • CocoImage.keys()
            • CocoImage.channels
            • CocoImage.n_assets
            • CocoImage.num_channels
            • CocoImage.dsize
            • CocoImage.image_filepath()
            • CocoImage.primary_image_filepath()
            • CocoImage.primary_asset()
            • CocoImage.iter_image_filepaths()
            • CocoImage.iter_assets()
            • CocoImage.iter_asset_objs()
            • CocoImage.find_asset()
            • CocoImage.find_asset_obj()
            • CocoImage._assets_key()
            • CocoImage.add_annotation()
            • CocoImage.add_asset()
            • CocoImage.imdelay()
            • CocoImage.valid_region()
            • CocoImage.warp_vid_from_img
            • CocoImage.warp_img_from_vid
            • CocoImage._warp_for_resolution()
            • CocoImage._annot_segmentation()
            • CocoImage._annot_segmentations()
            • CocoImage.resolution()
            • CocoImage._scalefactor_for_resolution()
            • CocoImage._detections_for_resolution()
            • CocoImage.add_auxiliary_item()
            • CocoImage.delay()
            • CocoImage.show()
            • CocoImage.draw()
          • CocoAsset
            • CocoAsset.image_filepath()
          • CocoVideo
          • CocoAnnotation
          • CocoCategory
          • CocoTrack
            • CocoTrack.annots()
          • _delay_load_imglike()
          • parse_quantity()
          • coerce_resolution()
        • kwcoco.coco_objects1d module
          • ObjectList1D
            • ObjectList1D._id_to_obj
            • ObjectList1D.unique()
            • ObjectList1D.ids
            • ObjectList1D.objs_iter()
            • ObjectList1D.objs
            • ObjectList1D.take()
            • ObjectList1D.compress()
            • ObjectList1D.peek()
            • ObjectList1D.lookup()
            • ObjectList1D.sort_values()
            • ObjectList1D.get()
            • ObjectList1D.get_iter()
            • ObjectList1D._iter_get()
            • ObjectList1D.set()
            • ObjectList1D._set()
            • ObjectList1D._lookup()
            • ObjectList1D.attribute_frequency()
          • ObjectGroups
            • ObjectGroups._lookup()
            • ObjectGroups.lookup()
            • ObjectGroups.flatten()
          • Categories
            • Categories.cids
            • Categories.name
            • Categories.supercategory
          • Videos
            • Videos.images
          • Images
            • Images.coco_images_iter()
            • Images.coco_images
            • Images.gids
            • Images.gname
            • Images.gpath
            • Images.image_id
            • Images.image_name
            • Images.image_path
            • Images.width
            • Images.height
            • Images.size
            • Images.area
            • Images.n_annots
            • Images.aids
            • Images.annots
          • Annots
            • Annots.aids
            • Annots.images
            • Annots.image_id
            • Annots.category_id
            • Annots.gids
            • Annots.cids
            • Annots.cnames
            • Annots.category_names
            • Annots.detections
            • Annots.boxes
            • Annots.xywh
          • Tracks
            • Tracks.track_ids
            • Tracks.name
            • Tracks.annots
          • AnnotGroups
            • AnnotGroups._cls1d
            • AnnotGroups.cids
            • AnnotGroups.cnames
          • ImageGroups
            • ImageGroups._cls1d
          • _BaseView
            • _BaseView._abc_impl
          • ObjView
            • ObjView._abc_impl
          • CocoImageView
            • CocoImageView._abc_impl
        • kwcoco.coco_schema module
          • deprecated()
          • TUPLE()
        • kwcoco.coco_sql_dataset module
          • FallbackCocoBase
            • FallbackCocoBase._decl_class_registry
          • Category
            • Category.id
            • Category.name
            • Category.alias
            • Category.supercategory
            • Category._unstructured
            • Category._sa_class_manager
          • KeypointCategory
            • KeypointCategory.id
            • KeypointCategory.name
            • KeypointCategory.alias
            • KeypointCategory.supercategory
            • KeypointCategory.reflection_id
            • KeypointCategory._unstructured
            • KeypointCategory._sa_class_manager
          • Video
            • Video.id
            • Video.name
            • Video.caption
            • Video.width
            • Video.height
            • Video._unstructured
            • Video._sa_class_manager
          • Image
            • Image.id
            • Image.name
            • Image.file_name
            • Image.width
            • Image.height
            • Image.video_id
            • Image.timestamp
            • Image.frame_index
            • Image.channels
            • Image.warp_img_to_vid
            • Image.auxiliary
            • Image._unstructured
            • Image._sa_class_manager
          • Track
            • Track.id
            • Track.name
            • Track._unstructured
            • Track._sa_class_manager
          • Annotation
            • Annotation.id
            • Annotation.image_id
            • Annotation.category_id
            • Annotation.track_id
            • Annotation.segmentation
            • Annotation.keypoints
            • Annotation.bbox
            • Annotation._bbox_x
            • Annotation._bbox_y
            • Annotation._bbox_w
            • Annotation._bbox_h
            • Annotation.score
            • Annotation.weight
            • Annotation.prob
            • Annotation.iscrowd
            • Annotation.caption
            • Annotation._unstructured
            • Annotation._sa_class_manager
          • cls
          • orm_to_dict()
          • dict_restructure()
          • _orm_yielder()
          • _raw_yielder()
          • _new_proxy_cache()
          • SqlListProxy
          • SqlDictProxy
            • SqlDictProxy._uncached_getitem()
            • SqlDictProxy.keys()
            • SqlDictProxy.values()
            • SqlDictProxy.items()
          • SqlIdGroupDictProxy
            • SqlIdGroupDictProxy._uncached_getitem()
            • SqlIdGroupDictProxy.keys()
            • SqlIdGroupDictProxy.items()
            • SqlIdGroupDictProxy.values()
          • CocoSqlIndex
            • CocoSqlIndex.build()
            • CocoSqlIndex._set_alchemy_mode()
          • _handle_sql_uri()
          • CocoSqlDatabase
            • CocoSqlDatabase.MEMORY_URI
            • CocoSqlDatabase.coerce()
            • CocoSqlDatabase.disconnect()
            • CocoSqlDatabase.connect()
            • CocoSqlDatabase.fpath
            • CocoSqlDatabase.delete()
            • CocoSqlDatabase.table_names()
            • CocoSqlDatabase.populate_from()
            • CocoSqlDatabase.dataset
            • CocoSqlDatabase.anns
            • CocoSqlDatabase.cats
            • CocoSqlDatabase.imgs
            • CocoSqlDatabase.name_to_cat
            • CocoSqlDatabase.pandas_table()
            • CocoSqlDatabase.raw_table()
            • CocoSqlDatabase._raw_tables()
            • CocoSqlDatabase._column_lookup()
            • CocoSqlDatabase._all_rows_column_lookup()
            • CocoSqlDatabase.tabular_targets()
            • CocoSqlDatabase._table_names()
            • CocoSqlDatabase.bundle_dpath
            • CocoSqlDatabase.data_fpath
            • CocoSqlDatabase._orig_coco_fpath()
            • CocoSqlDatabase._abc_impl
            • CocoSqlDatabase._cached_hashid()
          • cached_sql_coco_view()
          • ensure_sql_coco_view()
          • demo()
          • assert_dsets_allclose()
          • _benchmark_dset_readtime()
          • _benchmark_dict_proxy_ops()
          • devcheck()
        • kwcoco.compat_dataset module
          • COCO
            • COCO.createIndex()
            • COCO.info()
            • COCO.imgToAnns
            • COCO.catToImgs
            • COCO.getAnnIds()
            • COCO.getCatIds()
            • COCO.getImgIds()
            • COCO.loadAnns()
            • COCO.loadCats()
            • COCO.loadImgs()
            • COCO.showAnns()
            • COCO.loadRes()
            • COCO.download()
            • COCO.loadNumpyAnnotations()
            • COCO.annToRLE()
            • COCO.annToMask()
            • COCO._abc_impl
        • kwcoco.exceptions module
          • AddError
          • DuplicateAddError
          • InvalidAddError
        • kwcoco.kpf module
        • kwcoco.kw18 module
        • kwcoco.sensorchan_spec module
      • Module contents
        • CocoDataset API
          • CocoDataset classmethods (via MixinCocoConstructors)
          • CocoDataset slots
          • CocoDataset properties
          • CocoDataset methods (via MixinCocoAddRemove)
          • CocoDataset methods (via MixinCocoObjects)
          • CocoDataset methods (via MixinCocoStats)
          • CocoDataset methods (via MixinCocoDepricate)
          • CocoDataset methods (via MixinCocoAccessors)
          • CocoDataset methods (via CocoDataset)
          • CocoDataset methods (via MixinCocoExtras)
          • CocoDataset methods (via MixinCocoDraw)
        • AbstractCocoDataset
          • AbstractCocoDataset._abc_impl
        • CategoryTree
          • CategoryTree._build_index()
          • CategoryTree.category_names
          • CategoryTree.cats
          • CategoryTree.class_names
          • CategoryTree.coerce()
          • CategoryTree.copy()
          • CategoryTree.demo()
          • CategoryTree.forest_str()
          • CategoryTree.from_coco()
          • CategoryTree.from_json()
          • CategoryTree.from_mutex()
          • CategoryTree.id_to_idx
          • CategoryTree.idx_pairwise_distance()
          • CategoryTree.idx_to_ancestor_idxs()
          • CategoryTree.idx_to_descendants_idxs()
          • CategoryTree.idx_to_id
          • CategoryTree.index()
          • CategoryTree.is_mutex()
          • CategoryTree.normalize()
          • CategoryTree.num_classes
          • CategoryTree.print_graph()
          • CategoryTree.show()
          • CategoryTree.subgraph()
          • CategoryTree.take()
          • CategoryTree.to_coco()
        • ChannelSpec
          • ChannelSpec._demo_item()
          • ChannelSpec._item_shapes()
          • ChannelSpec.as_path()
          • ChannelSpec.code_list()
          • ChannelSpec.coerce()
          • ChannelSpec.component_indices()
          • ChannelSpec.concise()
          • ChannelSpec.decode()
          • ChannelSpec.difference()
          • ChannelSpec.encode()
          • ChannelSpec.from_int()
          • ChannelSpec.from_spec()
          • ChannelSpec.fuse()
          • ChannelSpec.info
          • ChannelSpec.intersection()
          • ChannelSpec.issubset()
          • ChannelSpec.issuperset()
          • ChannelSpec.items()
          • ChannelSpec.keys()
          • ChannelSpec.normalize()
          • ChannelSpec.numel()
          • ChannelSpec.parse()
          • ChannelSpec.sizes()
          • ChannelSpec.spec
          • ChannelSpec.split()
          • ChannelSpec.streams()
          • ChannelSpec.union()
          • ChannelSpec.unique()
          • ChannelSpec.values()
        • CocoDataset
          • CocoDataset._abc_impl
          • CocoDataset._build_index()
          • CocoDataset._check_index()
          • CocoDataset._check_integrity()
          • CocoDataset._check_json_serializable()
          • CocoDataset._check_pointers()
          • CocoDataset._check_warnables()
          • CocoDataset._compress_dump_to_fileptr()
          • CocoDataset._dump()
          • CocoDataset._infer_dirs()
          • CocoDataset._update_fpath()
          • CocoDataset.copy()
          • CocoDataset.dump()
          • CocoDataset.dumps()
          • CocoDataset.fpath
          • CocoDataset.rebuild_index()
          • CocoDataset.subset()
          • CocoDataset.union()
          • CocoDataset.view_sql()
        • CocoImage
          • CocoImage._annot_segmentation()
          • CocoImage._annot_segmentations()
          • CocoImage._assets_key()
          • CocoImage._detections_for_resolution()
          • CocoImage._scalefactor_for_resolution()
          • CocoImage._warp_for_resolution()
          • CocoImage.add_annotation()
          • CocoImage.add_asset()
          • CocoImage.add_auxiliary_item()
          • CocoImage.annots()
          • CocoImage.assets
          • CocoImage.channels
          • CocoImage.datetime
          • CocoImage.delay()
          • CocoImage.detach()
          • CocoImage.draw()
          • CocoImage.dsize
          • CocoImage.find_asset()
          • CocoImage.find_asset_obj()
          • CocoImage.from_gid()
          • CocoImage.get()
          • CocoImage.image_filepath()
          • CocoImage.imdelay()
          • CocoImage.iter_asset_objs()
          • CocoImage.iter_assets()
          • CocoImage.iter_image_filepaths()
          • CocoImage.keys()
          • CocoImage.n_assets
          • CocoImage.name
          • CocoImage.num_channels
          • CocoImage.primary_asset()
          • CocoImage.primary_image_filepath()
          • CocoImage.resolution()
          • CocoImage.show()
          • CocoImage.stats()
          • CocoImage.valid_region()
          • CocoImage.video
          • CocoImage.warp_img_from_vid
          • CocoImage.warp_vid_from_img
        • CocoSqlDatabase
          • CocoSqlDatabase.MEMORY_URI
          • CocoSqlDatabase._abc_impl
          • CocoSqlDatabase._all_rows_column_lookup()
          • CocoSqlDatabase._cached_hashid()
          • CocoSqlDatabase._column_lookup()
          • CocoSqlDatabase._orig_coco_fpath()
          • CocoSqlDatabase._raw_tables()
          • CocoSqlDatabase._table_names()
          • CocoSqlDatabase.anns
          • CocoSqlDatabase.bundle_dpath
          • CocoSqlDatabase.cats
          • CocoSqlDatabase.coerce()
          • CocoSqlDatabase.connect()
          • CocoSqlDatabase.data_fpath
          • CocoSqlDatabase.dataset
          • CocoSqlDatabase.delete()
          • CocoSqlDatabase.disconnect()
          • CocoSqlDatabase.fpath
          • CocoSqlDatabase.imgs
          • CocoSqlDatabase.name_to_cat
          • CocoSqlDatabase.pandas_table()
          • CocoSqlDatabase.populate_from()
          • CocoSqlDatabase.raw_table()
          • CocoSqlDatabase.table_names()
          • CocoSqlDatabase.tabular_targets()
        • FusedChannelSpec
          • FusedChannelSpec._alias_lut
          • FusedChannelSpec._memo
          • FusedChannelSpec._size_lut
          • FusedChannelSpec.as_list()
          • FusedChannelSpec.as_oset()
          • FusedChannelSpec.as_path()
          • FusedChannelSpec.as_set()
          • FusedChannelSpec.code_list()
          • FusedChannelSpec.coerce()
          • FusedChannelSpec.component_indices()
          • FusedChannelSpec.concat()
          • FusedChannelSpec.concise()
          • FusedChannelSpec.difference()
          • FusedChannelSpec.from_int()
          • FusedChannelSpec.from_spec()
          • FusedChannelSpec.fuse()
          • FusedChannelSpec.intersection()
          • FusedChannelSpec.issubset()
          • FusedChannelSpec.issuperset()
          • FusedChannelSpec.normalize()
          • FusedChannelSpec.numel()
          • FusedChannelSpec.parse()
          • FusedChannelSpec.sizes()
          • FusedChannelSpec.spec
          • FusedChannelSpec.split()
          • FusedChannelSpec.streams()
          • FusedChannelSpec.to_list()
          • FusedChannelSpec.to_oset()
          • FusedChannelSpec.to_set()
          • FusedChannelSpec.union()
          • FusedChannelSpec.unique()
        • SensorChanSpec
          • SensorChanSpec.chans
          • SensorChanSpec.coerce()
          • SensorChanSpec.concise()
          • SensorChanSpec.from_spec()
          • SensorChanSpec.late_fuse()
          • SensorChanSpec.matching_sensor()
          • SensorChanSpec.normalize()
          • SensorChanSpec.numel()
          • SensorChanSpec.split()
          • SensorChanSpec.streams()
  • Manual Docs
    • Getting Started With KW-COCO
      • FAQ
      • Examples
      • Design Goals
      • Use cases
        • Tasks
        • Modalities
      • KWCOCO Spec
      • The Python API
        • Creating a dataset
        • Using kwcoco to write a torch dataset
      • Technical Debt
      • Code Examples
    • KWCoco Argcomplete
    • Gotchas
    • KWCoco Concepts
    • KWCoco “Vectorized” Interface
      • CocoDataset methods (via MixinCocoObjects)
    • KWCOCO Views / Spaces
    • The Bundle Directory
kwcoco
  • kwcoco
  • kwcoco package
  • kwcoco.demo package
  • View page source

kwcoco.demo package¶

Submodules¶

  • kwcoco.demo.boids module
    • Boids
      • Boids.initialize()
      • Boids.update_neighbors()
      • Boids.compute_forces()
      • Boids.boundary_conditions()
      • Boids.step()
      • Boids.paths()
    • clamp_mag()
    • triu_condense_multi_index()
    • _spatial_index_scratch()
    • closest_point_on_line_segment()
    • _pygame_render_boids()
    • _yeah_boid()
  • kwcoco.demo.perterb module
    • perterb_coco()
    • _demo_construct_probs()
  • kwcoco.demo.toydata module
    • demodata_toy_dset()
    • random_single_video_dset()
    • random_video_dset()
    • demodata_toy_img()
  • kwcoco.demo.toydata_image module
    • demodata_toy_dset()
    • demodata_toy_img()
  • kwcoco.demo.toydata_video module
    • random_video_dset()
    • random_single_video_dset()
    • populate_random_timestamps()
    • _draw_video_sequence()
    • render_toy_dataset()
    • render_toy_image()
    • render_foreground()
    • render_background()
    • false_color()
    • random_multi_object_path()
    • random_path()
  • kwcoco.demo.toypatterns module
    • CategoryPatterns
      • CategoryPatterns._default_categories
      • CategoryPatterns._default_keypoint_categories
      • CategoryPatterns._default_catnames
      • CategoryPatterns.coerce()
      • CategoryPatterns.index()
      • CategoryPatterns.get()
      • CategoryPatterns.random_category()
      • CategoryPatterns.render_category()
      • CategoryPatterns._todo_refactor_geometric_info()
      • CategoryPatterns._package_info()
      • CategoryPatterns._from_elem()
    • star()
    • Rasters
      • Rasters.superstar()
      • Rasters.eff()

Module contents¶

Previous Next

© Copyright 2025, Jon Crall.

Built with Sphinx using a theme provided by Read the Docs.