Hi,
With Label Box Python library (version 3.44.0), I cannot find interpolated frames in the export_v2 results of labeled videos with boundary boxes (with “interpolated_frames”: True).
import labelbox
client = labelbox.Client(api_key = LB_API_KEY)
project = client.get_project(PROJECT_ID)
export_params= {
"attachments": True,
"metadata_fields": True,
"data_row_details": True,
"project_details": True,
"label_details": True,
"interpolated_frames": True,
"performance_details": True
}
export_task = project.export_v2(params={
"data_row_details": True,
"metadata_fields": True,
"attachments": True,
"project_details": True,
"performance_details": True,
"label_details": True,
"interpolated_frames": True
})
export_task.wait_till_done()
if export_task.errors:
print(export_task.errors)
export_json = export_task.result
The frame object does not even have the keyframe (TRUE/FALSE) parameter. Please let me know if I missed something here.
Furthermore, when upgrading to labelbox version 3.50.0, I have the following error for most videos :
{‘error’: ‘DataIntegrityException’, ‘message’: “Error exporting data row clinhbi2v2de… because ‘Logger’ object has no attribute ‘warn’ for the task cll5if47408r…”}
However, by using the deprecated project.label_generator() method, it seems the interpolated frames are present in the output.
Please let me know what is the recommended way to export interpolated boundary boxes frames from videos.