Commit Graph

2047 Commits

Author SHA1 Message Date
Brenno
fd88a60bb1 Updated variable names
Updated "attached_id" to "parentObjectId", "attachedObject" to "parentTrackedObject", and "attachedClip" to "parentClipObject"
2021-01-27 17:54:49 -03:00
Brenno
3f11361f09 Added support to attach a clip to another clip 2021-01-27 17:41:39 -03:00
Brenno
a94f09d105 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.
2021-01-27 17:18:23 -03:00
Brenno
4a28654bcc Added support to show the transform handler for the selected object
When using the ObjectDetection effect, it's now possible to select one detected object and update it's properties through it's transform handler.
2021-01-27 16:52:15 -03:00
Brenno
ce2c4e0198 Updated documentation 2021-01-22 20:14:25 -03:00
Brenno
d6e0acb0cb ObjectDetection: show object's icons and transform handlers per frame
Only show the tracked object's icon (on the mini-GUI to attach a clip to it) and transform handler if the object appears on the screen (i.e. it has data for the requested frame)
2021-01-22 20:03:05 -03:00
Brenno
5eb9f60eea Added support to update the detected bounding-boxes keyframes
Added support to show transform handlers for the bounding-boxes (Tracked Objects) detected by the Object Detection effect and update their Keyframes.
2021-01-22 19:47:36 -03:00
Brenno
32a217eda7 Added support to attach clip to detected object (ObjectDetection) effect
This feature let's the user attach a clip to an object detected by the Object Detection effect, in the same way it is done with the Tracker Effect.
2021-01-22 19:28:16 -03:00
Brenno
17463313fc Clip.cpp: Removed hard-coded Tracker effect check in AddEffect function
Added "has_tracked_object" property on EffectBase so that the AddEffect function checks for this property instead of the Tracker effect name - this way it's possible to support other effects that have tracked objects but different names.
2021-01-22 19:00:44 -03:00
Brenno
a7d2b6adab Fixed clip transform handler when attached to object 2021-01-19 16:03:51 -03:00
Brenno
f8198d668f Fixed codacy review warnings 2021-01-19 15:28:33 -03:00
Brenno
cb61f914f7 Tracker effect and export video fixes
Fixed bug that made Openshot crash if two or more Tracker effects were added to the same video.
Fixed bug that made the clips to be incorrectly attached to tracked objects in the exported video.
2021-01-18 15:30:11 -03:00
Brenno
b08e65f24f Tracked object bounding box transform handler fix
Fixed bug that caused the tracked object bounding box to be incorrectly updated when the user interacted with it's transform handler.
2021-01-18 15:17:10 -03:00
Brenno
f05ded9a2f Attaching clip to tracked object fixes
Fixed bug that caused the clip to not attach correctly if the tracked object's parent clip wasn't in the position 0 of the timeline.
Fixed bug that caused the wrong scale adjustment when an emoji or picture was attached to a tracked object.
2021-01-18 15:12:45 -03:00
Brenno
a5feadce1e Changed KeyframeBBox to TrackedObjectBBox and added TrackedObjectBase
Added new base class TrackedObjectBase, changed class KeyframeBBox to TrackedObjectBBox and changes it's inheritance from KeyframeBase to TrackedObjectBase.
2021-01-18 14:52:01 -03:00
Brenno
b2cd0a500a Update Clip.cpp apply_keyframes funcion
The Clip's Keyframes are no longer modified when it's attached to an object, and the bounding-box properties are requested by the Timeline's frame, not the Clip's frame.
2021-01-14 16:03:22 -03:00
Brenno
7cce93eb55 Removed IKeyFrame.h and applied minor fixes to Clip.cpp 2021-01-14 15:53:12 -03:00
Brenno
3d5d907c5d Updated Clip.cpp to support GUI to select attached object
Modified Clip.cpp PropertiesJSON function and applied minor fixes to Keyframe_Tests
2021-01-14 15:45:28 -03:00
Brenno
61accdfe95 Merge branch 'opencv' into keyframe-refactor 2021-01-14 15:00:04 -03:00
Brenno
f6de53350f Minor fixes
- Moved TimeUtil from header to src
- Fixed issue with Qimage -> Mat conversion
2021-01-13 20:22:17 -03:00
Brenno
7fbb8a2cb7 Rename protobuf packages to pb_foo 2021-01-13 19:46:03 -03:00
Brenno A. C. Caldato
73bf7390e9 Apply suggestions from code review
Co-authored-by: Frank Dana <ferdnyc@gmail.com>
2021-01-13 19:30:46 -03:00
FeRD (Frank Dana)
da02180c79 Rename protobuf packages to pb_foo 2021-01-13 13:36:15 -05:00
Brenno A. C. Caldato
1fa4e878ca Merge pull request #604 from ferdnyc/opencv_build_config
CMake: Adjustments to build config with OpenCV/Protobuf/Boost
2021-01-13 14:30:38 -03:00
FeRD (Frank Dana)
d71631a6c7 OpenCV: Move 'using ns std', scrub whitespace 2021-01-13 12:08:39 -05:00