Commit Graph

32 Commits

Author SHA1 Message Date
Jonathan Thomas
98383fdddd Refactor of ObjectDetection effect:
- Draw bounding boxes using QPainter and support corner radius (and faster drawing performance by drawing directly on the frame)
- Draw child clips with correct aspect ratio
- Adding "Yes/No" option for "Draw Text"
- default to fully opaque stroke
2024-02-22 20:47:21 -06:00
Jonathan Thomas
3af6e1f672 Refactor of Tracker effect and TrackedObjectBBox:
- Draw Tracker boxes using QPainter and support corner radius (and faster drawing performance by drawing directly on the frame)
- Draw child clips with correct aspect ratio
- Adding "Yes/No" options for "Visible" and "Draw Box" Tracked Object Box keyframes
- default to invisible background
- default to 12 corner radius
- default to 50% stroke alpha
2024-02-22 16:22:48 -06:00
Jonathan Thomas
2715d1c37e Clean-up of whitespace 2023-04-14 14:35:46 -05:00
Jonathan Thomas
5fdb3acfaf - Removed possible black background from Tracker and Object Detector effects when using a child clip
- Small refactor to Tracker and Object Detector drawImage code when drawing a Child Clip ID
- Some light code clean-up
2023-04-14 14:32:48 -05:00
Jonathan Thomas
38ab27e22e Allow clearing of the child_clip_id property 2023-04-13 17:11:11 -05:00
Jonathan Thomas
def438dd0a Protect child_clip_id from accessing NULL parentClip property 2023-04-13 15:03:25 -05:00
FeRD (Frank Dana)
fe58e8028d Move some headers around 2021-11-01 11:04:31 -04:00
FeRD (Frank Dana)
7ac54f05cc Fold libopenshot_protobuf into libopenshot
- Move .proto files to src/ dir (not src/protobuf_messages)
- Generate protobuf files in src/CMakeLists.txt and include in
  'openshot' library target
- Don't install generated *.pb.h headers, which are now private
2021-10-17 23:31:02 -04:00
Frank Dana
59138ea3e4 Adopt license management via Reuse project/tool (#711)
* reuse-managed license/copyright headers

reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.

* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
  - Add headers to source files
  - Change blanket licensing in .reuse/dep5 to only cover binary media
  - Import CC-BY-3.0 license and assign to sintel_trailer
2021-10-16 01:26:26 -04:00
Brenno
4d5bf9ba8c Bug fix. Prevent adding the same clip as child in the Tracker and Object Detection Effects 2021-08-13 21:15:58 -03:00
FeRD (Frank Dana)
8fab146f34 TrackedObject: DRY out with delegating ctors 2021-06-04 20:10:14 -04:00
FeRD (Frank Dana)
1edaf80153 TrackedObject: Pare down includes 2021-06-04 20:09:10 -04:00
Brenno
c6ce5b0e16 Key "objects" in Json hold a dict of tracked objects 2021-05-08 20:24:39 -03:00
Brenno
f491d585fc Added author and added licence in ClipProcessingJobs 2021-04-20 23:07:23 -03:00
Brenno
5f853a3430 Fixed attaching a clip to Tracker and ObjectDetection
Some problems still persists
- Saved projects are not loading properly
- There is an aspect ratio issue when attaching an emoji to the ObjectDetection
2021-04-18 19:28:28 -03:00
Brenno
2cf2c55f9b Changed None to empty string, corrected dynamic pointers 2021-04-12 21:32:27 -03:00
Brenno
32033e01e4 Changed formatting from tab to spaces 2021-04-12 21:21:42 -03:00
Brenno
94992117a9 Added default class colors 2021-04-08 22:07:03 -03:00
Brenno
6b6b6d5a3d Protecting ObjectDetection when no object is found 2021-04-07 21:49:58 -03:00
Brenno
c55efd1897 Added opacity to Tracker effect
Optimization improvements are still necessary
2021-03-28 15:55:22 -03:00
Brenno
4ea85ec859 Implemented Stroke width and background color for Tracker bounding boxes 2021-03-27 22:50:01 -03:00
Brenno
3729188f18 Protect against linking the tracked object with the parent clip 2021-03-18 13:05:21 -03:00
Brenno
7272ff0928 Allow the user to hide the blue bounding box on the Tracker effect
This will still keep the child clip visible
2021-03-18 12:25:22 -03:00
Brenno
c60dd400c1 Updated JSON functions related to Tracked Objects 2021-02-04 15:57:30 -03:00
Brenno
d24c2e451c Added support to insert the image of a clip inside a Tracked Object 2021-02-04 15:45:33 -03:00