insight-platform / savant-rs

Savant Library with new generation primitives re-implemented in Rust
Apache License 2.0
11 stars 1 forks source link

Empty Get Children Resolution #110

Closed bwsw closed 12 months ago

bwsw commented 12 months ago
license_plate_recognition-image-json-sink-1    | obg= VideoObjectProxy { inner: RwLock { data: VideoObject { id: 1612677207, namespace: "yolov8n", label: "Car", draw_label: None, detection_box: OwnedRBBoxData { xc: 727.125, yc: 379.5, width: 75.84375, height: 41.085907, angle: Some(0.0), has_modifications: true }, attributes: {}, confidence: Some(0.6459961), parent_id: None, track_box: Some(OwnedRBBoxData { xc: 727.125, yc: 379.5, width: 75.84375, height: 41.085907, angle: Some(0.0), has_modifications: true }), track_id: Some(1), namespace_id: None, label_id: None, frame: None } } }
license_plate_recognition-image-json-sink-1    | obj.id= 1612677207
license_plate_recognition-image-json-sink-1    | frame.get_children(obj.id)= []
license_plate_recognition-image-json-sink-1    | obg= VideoObjectProxy { inner: RwLock { data: VideoObject { id: -2058181990, namespace: "yolov8n", label: "Car", draw_label: None, detection_box: OwnedRBBoxData { xc: 1209.0, yc: 390.00006, width: 88.96875, height: 57.046894, angle: Some(0.0), has_modifications: true }, attributes: {}, confidence: Some(0.70751953), parent_id: None, track_box: Some(OwnedRBBoxData { xc: 1209.0, yc: 390.00006, width: 88.96875, height: 57.046894, angle: Some(0.0), has_modifications: true }), track_id: Some(2), namespace_id: None, label_id: None, frame: None } } }
license_plate_recognition-image-json-sink-1    | obj.id= -2058181990
license_plate_recognition-image-json-sink-1    | frame.get_children(obj.id)= []
license_plate_recognition-image-json-sink-1    | obg= VideoObjectProxy { inner: RwLock { data: VideoObject { id: 537435614, namespace: "LPDNet", label: "lpd", draw_label: None, detection_box: OwnedRBBoxData { xc: 557.58374, yc: 883.9291, width: 298.5735, height: 84.460144, angle: Some(0.0), has_modifications: true }, attributes: {("LPRNet", "lpr"): Attribute { namespace: "LPRNet", name: "lpr", values: [AttributeValue { confidence: Some(0.9864004), value: String("19A0888") }], hint: None, is_persistent: true }}, confidence: Some(0.39770508), parent_id: Some(-1401514819), track_box: Some(OwnedRBBoxData { xc: 557.58374, yc: 883.9291, width: 298.5735, height: 84.460144, angle: Some(0.0), has_modifications: true }), track_id: Some(0), namespace_id: None, label_id: None, frame: None } } }
license_plate_recognition-image-json-sink-1    | obj.id= 537435614
license_plate_recognition-image-json-sink-1    | frame.get_children(obj.id)= []
license_plate_recognition-image-json-sink-1    | obg= VideoObjectProxy { inner: RwLock { data: VideoObject { id: -111286109, namespace: "yolov8n", label: "Car", draw_label: None, detection_box: OwnedRBBoxData { xc: 1340.25, yc: 408.75003, width: 146.25, height: 86.062515, angle: Some(0.0), has_modifications: true }, attributes: {}, confidence: Some(0.8105469), parent_id: None, track_box: Some(OwnedRBBoxData { xc: 1340.25, yc: 408.75003, width: 146.25, height: 86.062515, angle: Some(0.0), has_modifications: true }), track_id: Some(3), namespace_id: None, label_id: None, frame: None } } }
license_plate_recognition-image-json-sink-1    | obj.id= -111286109
license_plate_recognition-image-json-sink-1    | frame.get_children(obj.id)= []
license_plate_recognition-image-json-sink-1    | obg= 
license_plate_recognition-image-json-sink-1    | VideoObjectProxy { inner: RwLock { data: VideoObject { id: -1401514819, namespace: "yolov8n", label: "Car", draw_label: None, detection_box: OwnedRBBoxData { xc: 485.25, yc: 675.75, width: 886.5, height: 690.75, angle: Some(0.0), has_modifications: true }, attributes: {}, confidence: Some(0.93310547), parent_id: None, track_box: Some(OwnedRBBoxData { xc: 485.25, yc: 675.75, width: 886.5, height: 690.75, angle: Some(0.0), has_modifications: true }), track_id: Some(4), namespace_id: None, label_id: None, frame: None } } }
license_plate_recognition-image-json-sink-1    | obj.id= -1401514819
license_plate_recognition-image-json-sink-1    | frame.get_children(obj.id)= []
bwsw commented 12 months ago

After ser/deser belonging frame is None. It must be updated to the current frame.