Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opencv integration #550

Merged
merged 34 commits into from Aug 11, 2020
Merged

Conversation

BrennoCaldato
Copy link
Collaborator

Integrated OpenCV with OpenShot. Created Tracker, Stabilizer, and ObjectDetection Effects.
Already merged with the new-webengine-support branch.

The new OpenCV related effects work as follows:

1- For effects that cannot be processed in real-time a threaded preprocessing step is applied by calling the ClipProcessingJobs class.
2- The ClipProcessingJobs communicates between libopenshot and openshot-qt using Json.
3- After the preprocessing is done, the results are saved to disk in a serialized protobuf message.
4- The protobuf file path is passed to the effect class by openshot-qt.

BrennoCaldato and others added 30 commits June 26, 2020 10:29
Added map instead of vector in the Stabilizer, removed unnecessary code and improved documentation
Also integrated a basic the tracker Effect with the UI, changed the effect creation to use Json messages, and added the ProcessingController class to handle thread communication
Also included kalman filter functions and code for tracking the output boxes from DNN model
Also added tests for ObjectDetection and several bug fixes
@codecov
Copy link

codecov bot commented Aug 8, 2020

Codecov Report

Merging #550 into opencv will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           opencv     #550      +/-   ##
==========================================
- Coverage   48.79%   48.76%   -0.03%     
==========================================
  Files         129      129              
  Lines       10034    10038       +4     
==========================================
- Hits         4896     4895       -1     
- Misses       5138     5143       +5     
Impacted Files Coverage Δ
include/Clip.h 88.88% <ø> (ø)
include/FFmpegReader.h 33.33% <ø> (ø)
include/Frame.h 100.00% <ø> (ø)
src/Clip.cpp 39.72% <0.00%> (ø)
src/EffectInfo.cpp 0.00% <ø> (ø)
src/FFmpegReader.cpp 68.66% <0.00%> (-0.13%) ⬇️
src/Frame.cpp 47.70% <ø> (ø)
tests/Frame_Tests.cpp 100.00% <ø> (ø)
src/FFmpegWriter.cpp 62.46% <0.00%> (-0.20%) ⬇️
src/FrameMapper.cpp 82.82% <0.00%> (-0.05%) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 517f289...eb58385. Read the comment docs.

@jonoomph jonoomph merged commit 266bdc0 into OpenShot:opencv Aug 11, 2020
@jonoomph
Copy link
Member

Merging into opencv branch so we can play with our build servers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants