You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Merge pull request #674 from OpenShot/fix-saving
Changed JSON communication for detected objects
This commit is contained in:
@@ -85,8 +85,8 @@ void CVObjectDetection::detectObjectsClip(openshot::Clip &video, size_t _start,
|
||||
size_t frame_number;
|
||||
if(!process_interval || end <= 1 || end-start == 0){
|
||||
// Get total number of frames in video
|
||||
start = (int)(video.Start() * video.Reader()->info.fps.ToFloat()) + 1;
|
||||
end = (int)(video.End() * video.Reader()->info.fps.ToFloat()) + 1;
|
||||
start = (int)(video.Start() * video.Reader()->info.fps.ToFloat());
|
||||
end = (int)(video.End() * video.Reader()->info.fps.ToFloat());
|
||||
}
|
||||
|
||||
for (frame_number = start; frame_number <= end; frame_number++)
|
||||
|
||||
Reference in New Issue
Block a user