Commit Graph

10 Commits

Author SHA1 Message Date
Brenno
61accdfe95 Merge branch 'opencv' into keyframe-refactor 2021-01-14 15:00:04 -03:00
Brenno
b579ea6499 Added functionality to link a clip to a tracked object (Animations)
- Added KeyframeBase class
- Adjusted the inheritance of KeyframeBase to KeyframeBBox and Keyframe
- Added feature to attach clip to bounding box
- Added support to select tracked object with a dropdown list and removed keyframebbox downcasting
2020-12-22 21:32:36 -03:00
Brenno
4fdd325ea3 Added rotation transform to the tracker bounding-box.
Changed the bounding-box struct point convention to (cx, cy, width, height, angle).
The GetFrame member function from Tracker class now uses the cv::RotatedRect object to represent the bounding-box and draw it on screen.
The JSON and Protobuf communication between the backend and frontend still uses the (x1,y1)(x2,y2) point convention, the backend performs the adequate transformations.
2020-12-14 18:08:44 -03:00
Brenno
60cec478d3 Refactored KeyframeBBox
-Moved the methods that handles protobuf data from Tracker to KeyframeBBox
-Displacement and scale keyframes are now properties of KeyframeBBox
-Changed interface that updates the KeyframeBBox properties.
2020-12-12 20:23:34 -03:00
Brenno
dd9e203695 Added transform handler for Tracker effect
It's now possible to adjust the tracked bounding box from the preview window. Some work is needed to make it generic to the ObjectDetection effect and future effects
2020-11-28 18:09:10 -03:00
Brenno
9113153be8 Added properties to Tracker effects
(still needs some fine-tuning)
2020-11-12 21:35:47 -03:00
Brenno
940840c904 Solved FPS bug. 2020-11-12 21:33:53 -03:00
Brenno
34aabcc6e2 Removed Excess information from json. 2020-11-12 21:30:11 -03:00
Brenno
1215d042c7 Added scale factor to class to replace OpFPS. 2020-11-12 21:25:27 -03:00
Brenno
5db1c0f453 Initial design of new keyframes specialized classes
The keyframe collections would better integrate with effects that uses bounding boxes, skeletons and facial points.
2020-10-29 00:34:31 -03:00