{
    "camera_model": "lepton3",
    "background_thresh": 20,
    "id": 2,
    "start_time": "2022-07-05T22:36:23.109243+12:00",
    "end_time": "2022-07-05T22:36:40.887021+12:00",
    "tracks": [
        {
            "id": 1,
            "tracker_version": 11,
            "start_s": 4.33,
            "end_s": 7.56,
            "num_frames": 29,
            "frame_start": 39,
            "frame_end": 67,
            "positions": [
                {
                    "x": 59,
                    "y": 93,
                    "width": 13,
                    "height": 16,
                    "mass": 35,
                    "frame_number": 39,
                    "pixel_variance": 690.6400146484375,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 55,
                    "y": 91,
                    "width": 18,
                    "height": 19,
                    "mass": 72,
                    "frame_number": 40,
                    "pixel_variance": 1255.68994140625,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 54,
                    "y": 91,
                    "width": 19,
                    "height": 20,
                    "mass": 95,
                    "frame_number": 41,
                    "pixel_variance": 1056.8299560546875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 52,
                    "y": 89,
                    "width": 21,
                    "height": 22,
                    "mass": 126,
                    "frame_number": 42,
                    "pixel_variance": 986.219970703125,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 50,
                    "y": 89,
                    "width": 24,
                    "height": 22,
                    "mass": 166,
                    "frame_number": 43,
                    "pixel_variance": 490.6199951171875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 48,
                    "y": 88,
                    "width": 26,
                    "height": 25,
                    "mass": 206,
                    "frame_number": 44,
                    "pixel_variance": 743.530029296875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 46,
                    "y": 87,
                    "width": 28,
                    "height": 27,
                    "mass": 241,
                    "frame_number": 45,
                    "pixel_variance": 479.8699951171875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 45,
                    "y": 87,
                    "width": 29,
                    "height": 27,
                    "mass": 271,
                    "frame_number": 46,
                    "pixel_variance": 450.8299865722656,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 43,
                    "y": 87,
                    "width": 31,
                    "height": 27,
                    "mass": 305,
                    "frame_number": 47,
                    "pixel_variance": 447.8500061035156,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 41,
                    "y": 87,
                    "width": 33,
                    "height": 28,
                    "mass": 340,
                    "frame_number": 48,
                    "pixel_variance": 542.4000244140625,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 38,
                    "y": 87,
                    "width": 35,
                    "height": 29,
                    "mass": 390,
                    "frame_number": 49,
                    "pixel_variance": 437.8399963378906,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 36,
                    "y": 87,
                    "width": 37,
                    "height": 29,
                    "mass": 437,
                    "frame_number": 50,
                    "pixel_variance": 522.7999877929688,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 33,
                    "y": 87,
                    "width": 40,
                    "height": 30,
                    "mass": 504,
                    "frame_number": 51,
                    "pixel_variance": 616.739990234375,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 30,
                    "y": 87,
                    "width": 43,
                    "height": 31,
                    "mass": 555,
                    "frame_number": 52,
                    "pixel_variance": 513.77001953125,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 26,
                    "y": 87,
                    "width": 47,
                    "height": 31,
                    "mass": 609,
                    "frame_number": 53,
                    "pixel_variance": 612.5599975585938,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 24,
                    "y": 86,
                    "width": 48,
                    "height": 33,
                    "mass": 643,
                    "frame_number": 54,
                    "pixel_variance": 386.5400085449219,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 22,
                    "y": 86,
                    "width": 49,
                    "height": 33,
                    "mass": 618,
                    "frame_number": 55,
                    "pixel_variance": 443.30999755859375,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 20,
                    "y": 87,
                    "width": 50,
                    "height": 32,
                    "mass": 628,
                    "frame_number": 56,
                    "pixel_variance": 252.60000610351562,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 17,
                    "y": 88,
                    "width": 52,
                    "height": 31,
                    "mass": 659,
                    "frame_number": 57,
                    "pixel_variance": 395.44000244140625,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 13,
                    "y": 90,
                    "width": 52,
                    "height": 29,
                    "mass": 660,
                    "frame_number": 58,
                    "pixel_variance": 674.25,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 8,
                    "y": 91,
                    "width": 53,
                    "height": 28,
                    "mass": 647,
                    "frame_number": 59,
                    "pixel_variance": 736.5599975585938,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 3,
                    "y": 92,
                    "width": 53,
                    "height": 27,
                    "mass": 653,
                    "frame_number": 60,
                    "pixel_variance": 909.47998046875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 93,
                    "width": 49,
                    "height": 26,
                    "mass": 664,
                    "frame_number": 61,
                    "pixel_variance": 820.72998046875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 94,
                    "width": 47,
                    "height": 25,
                    "mass": 652,
                    "frame_number": 62,
                    "pixel_variance": 1015.7899780273438,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 95,
                    "width": 42,
                    "height": 24,
                    "mass": 595,
                    "frame_number": 63,
                    "pixel_variance": 748.6699829101562,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 97,
                    "width": 41,
                    "height": 22,
                    "mass": 499,
                    "frame_number": 64,
                    "pixel_variance": 903.989990234375,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 98,
                    "width": 34,
                    "height": 21,
                    "mass": 439,
                    "frame_number": 65,
                    "pixel_variance": 894.8699951171875,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 100,
                    "width": 33,
                    "height": 19,
                    "mass": 364,
                    "frame_number": 66,
                    "pixel_variance": 1237.5699462890625,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 102,
                    "width": 27,
                    "height": 17,
                    "mass": 258,
                    "frame_number": 67,
                    "pixel_variance": 1579.81005859375,
                    "blank": false,
                    "in_trap": false
                }
            ],
            "tracking_score": 359.38927198180863,
            "predictions": [
                {
                    "classify_time": 0.1,
                    "label": "possum",
                    "confident_tag": "possum",
                    "confidence": 0.99,
                    "clarity": 0.984,
                    "all_class_confidences": {
                        "bird": 0.0,
                        "cat": 0.0,
                        "deer": 0.0,
                        "dog": 0.0,
                        "false-positive": 0.0,
                        "hedgehog": 0.004000000189989805,
                        "human": 0.0,
                        "kiwi": 0.0,
                        "leporidae": 0.0,
                        "mustelid": 0.0,
                        "penguin": 0.0,
                        "possum": 0.9879999756813049,
                        "rodent": 0.0010000000474974513,
                        "sheep": 0.0,
                        "vehicle": 0.0,
                        "wallaby": 0.0,
                        "land-bird": 0.0
                    },
                    "predictions": [
                        {
                            "prediction": [
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                99,
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            "smoothed_prediction": [
                                0,
                                1,
                                0,
                                0,
                                2,
                                40,
                                0,
                                0,
                                1,
                                0,
                                0,
                                10918,
                                7,
                                0,
                                0,
                                0,
                                0
                            ],
                            "frames": [
                                39,
                                40,
                                43,
                                44,
                                45,
                                46,
                                47,
                                48,
                                49,
                                50,
                                53,
                                54,
                                55,
                                56,
                                57,
                                58,
                                59,
                                60,
                                61,
                                62,
                                63,
                                64,
                                65,
                                66,
                                67
                            ],
                            "predicted_at_frame": 67,
                            "mass": [
                                11051
                            ],
                            "predicted_time": 1756095343.2606046
                        }
                    ],
                    "model_id": 2
                }
            ],
            "thumbnail": {
                "region": {
                    "x": 26,
                    "y": 87,
                    "width": 47,
                    "height": 31,
                    "mass": 609,
                    "frame_number": 53,
                    "pixel_variance": 612.5599975585938,
                    "blank": false,
                    "in_trap": false
                },
                "contours": 26,
                "median_diff": 140.0,
                "score": 112
            }
        },
        {
            "id": 2,
            "tracker_version": 11,
            "start_s": 7.78,
            "end_s": 8.11,
            "num_frames": 3,
            "frame_start": 70,
            "frame_end": 72,
            "positions": [
                {
                    "x": 13,
                    "y": 107,
                    "width": 10,
                    "height": 11,
                    "mass": 5,
                    "frame_number": 70,
                    "pixel_variance": 129.35000610351562,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 109,
                    "width": 10,
                    "height": 10,
                    "mass": 32,
                    "frame_number": 71,
                    "pixel_variance": 389.010009765625,
                    "blank": false,
                    "in_trap": false
                },
                {
                    "x": 1,
                    "y": 109,
                    "width": 7,
                    "height": 10,
                    "mass": 22,
                    "frame_number": 72,
                    "pixel_variance": 111.7300033569336,
                    "blank": false,
                    "in_trap": false
                }
            ],
            "tracking_score": 317.68276337675053,
            "predictions": [
                {
                    "classify_time": 0.1,
                    "label": "false-positive",
                    "confident_tag": "false-positive",
                    "confidence": 1.0,
                    "clarity": 0.997,
                    "all_class_confidences": {
                        "bird": 0.0,
                        "cat": 0.0,
                        "deer": 0.0,
                        "dog": 0.0,
                        "false-positive": 0.9980000257492065,
                        "hedgehog": 0.0,
                        "human": 0.0,
                        "kiwi": 0.0,
                        "leporidae": 0.0,
                        "mustelid": 0.0,
                        "penguin": 0.0,
                        "possum": 0.0,
                        "rodent": 0.0,
                        "sheep": 0.0,
                        "vehicle": 0.0,
                        "wallaby": 0.0,
                        "land-bird": 0.0
                    },
                    "predictions": [
                        {
                            "prediction": [
                                0,
                                0,
                                0,
                                0,
                                100,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            "smoothed_prediction": [
                                0,
                                0,
                                0,
                                0,
                                118,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            "frames": [
                                70,
                                70,
                                70,
                                70,
                                70,
                                70,
                                71,
                                71,
                                71,
                                71,
                                71,
                                71,
                                71,
                                71,
                                72,
                                72,
                                72,
                                72,
                                72,
                                72,
                                72,
                                72,
                                72,
                                72,
                                72
                            ],
                            "predicted_at_frame": 72,
                            "mass": [
                                118
                            ],
                            "predicted_time": 1756095343.3720984
                        }
                    ],
                    "model_id": 2
                }
            ],
            "thumbnail": {
                "region": {
                    "x": 13,
                    "y": 107,
                    "width": 10,
                    "height": 11,
                    "mass": 5,
                    "frame_number": 70,
                    "pixel_variance": 129.35000610351562,
                    "blank": false,
                    "in_trap": false
                },
                "contours": 2,
                "median_diff": 41.0,
                "score": 46
            }
        }
    ],
    "source": "tests/clips/possum.cptv",
    "tracking_time": 5.6,
    "algorithm": {
        "tracker_version": 11,
        "tracker_config": {
            "tracker": "RegionTracker",
            "params": {
                "base_distance_change": 450,
                "min_mass_change": 20,
                "restrict_mass_after": 1.5,
                "mass_change_percent": 0.55,
                "max_distance": 2000,
                "max_blanks": 18,
                "velocity_multiplier": 2,
                "base_velocity": 2
            },
            "type": "thermal",
            "motion": {
                "camera_thresholds": {
                    "lepton3": {
                        "camera_model": "lepton3",
                        "temp_thresh": 2900,
                        "background_thresh": 20,
                        "default": true,
                        "min_temp_thresh": null,
                        "max_temp_thresh": null,
                        "track_min_delta": 1.0,
                        "track_max_delta": 150
                    },
                    "lepton3.5": {
                        "camera_model": "lepton3.5",
                        "temp_thresh": 28000,
                        "background_thresh": 50,
                        "default": false,
                        "min_temp_thresh": null,
                        "max_temp_thresh": null,
                        "track_min_delta": 1.0,
                        "track_max_delta": 150
                    },
                    "IR": {
                        "camera_model": "IR",
                        "temp_thresh": null,
                        "background_thresh": 12,
                        "default": false,
                        "min_temp_thresh": null,
                        "max_temp_thresh": null,
                        "track_min_delta": 1.0,
                        "track_max_delta": 150
                    }
                },
                "dynamic_thresh": true
            },
            "edge_pixels": 1,
            "min_dimension": 0,
            "frame_padding": 4,
            "track_smoothing": false,
            "denoise": true,
            "high_quality_optical_flow": false,
            "flow_threshold": 40,
            "max_tracks": null,
            "track_overlap_ratio": 0.5,
            "min_duration_secs": 0,
            "track_min_offset": 4.0,
            "track_min_mass": 2.0,
            "aoi_min_mass": 4.0,
            "aoi_pixel_variance": 2.0,
            "cropped_regions_strategy": "cautious",
            "enable_track_output": true,
            "min_tag_confidence": 0.8,
            "moving_vel_thresh": 4,
            "min_moving_frames": 2,
            "max_blank_percent": 30,
            "max_mass_std_percent": 0.55,
            "max_jitter": 20,
            "filters": {
                "track_overlap_ratio": 0.5,
                "min_duration_secs": 0,
                "track_min_offset": 4.0,
                "track_min_mass": 2.0,
                "moving_vel_thresh": 4
            },
            "areas_of_interest": {
                "min_mass": 4.0,
                "pixel_variance": 2.0,
                "cropped_regions_strategy": "cautious"
            },
            "filter_regions_pre_match": true,
            "min_hist_diff": null
        }
    },
    "models": [
        {
            "id": 2,
            "name": "Thermal WR",
            "type": "TFLite",
            "model_file": "./thermal-model/converted_model.json",
            "model_weights": null,
            "wallaby": false,
            "tag_scores": {
                "default": 0
            },
            "ignored_tags": [],
            "thumbnail_model": false,
            "reclassify": null,
            "submodel": false,
            "run_over_network": false,
            "port": 8123,
            "classify_time": 0.2
        }
    ]
}