ObjectDetection: updated object selection and transform handler

Removed the necessity to append the detected object index (related to the frame) to the effect JSON - which makes the JSON smaller and the performance better.
This commit is contained in:
Brenno
2021-01-27 17:18:23 -03:00
parent 4a28654bcc
commit a94f09d105
6 changed files with 132 additions and 80 deletions

View File

@@ -92,6 +92,7 @@ Json::Value EffectBase::JsonValue() const {
root["description"] = info.description;
root["has_video"] = info.has_video;
root["has_audio"] = info.has_audio;
root["has_tracked_object"] = info.has_tracked_object;
root["order"] = Order();
// return JsonValue