Commit Graph

38 Commits

Author SHA1 Message Date
Jonathan Thomas
5a0a6a69a8 Add new "Display All Boxes" Object Detector property, since it can be difficult to turn off each individual box. Made "visible" property read-only on Tracker & Object Detector effects. Improve Keyframe::SetJsonValue method to accept an object or a float. 2024-03-05 10:41:06 -06:00
Jonathan Thomas
620e894409 Fixing parentClipObject and parentTrackedObject transform, so the parent clip can be scaled and moved without breaking the tracking. Also refactoring out unneeded complex code left over. 2024-03-01 16:47:52 -06:00
Jonathan Thomas
07e4458c03 Removing "ChildClipId" property, no longer used for attaching clips to tracker or object detection effects: Use clip->Parent to attach clips to tracked objects now. 2024-02-26 16:45:30 -06:00
Jonathan Thomas
8f3c324b0b Set range of background corner radius to 150.0 (which is essentially a circle in my testing). Also, ignoring case of class_filter on Object Detection effect. 2024-02-26 10:47:38 -06:00
Jonathan Thomas
04ec0232cb Make x1,x2,y1,y2 properties read only in properties window 2024-02-24 16:38:07 -06:00
Jonathan Thomas
4594cf85b6 Fix Tracker/ObjectDetector unit tests, due to new default values 2024-02-22 21:17:24 -06:00
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