Skip to content

Commit

Permalink
video tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed May 16, 2024
1 parent 94a0a8d commit 9be5ab8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions simba/video_processors/video_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3555,9 +3555,8 @@ def video_bg_subtraction(video_path: Union[str, os.PathLike],
"""
Subtract the background from a video.
.. image:: _static/img/video_bg_subtraction.webm
:width: 1000
:align: center
.. video:: _static/img/video_bg_subtraction.webm
:loop:
.. note::
If ``bg_video_path`` is passed, that video will be used to parse the background. If None, ``video_path`` will be use dto parse background.
Expand All @@ -3581,7 +3580,7 @@ def video_bg_subtraction(video_path: Union[str, os.PathLike],
:return: None.
:example:
>>> video_bg_substraction(video_path='/Users/simon/Downloads/1_LH_cropped.mp4', bg_start_time='00:00:00', bg_end_time='00:00:10', bg_color=(0, 106, 167), fg_color=(254, 204, 2))
>>> video_bg_subtraction(video_path='/Users/simon/Downloads/1_LH_cropped.mp4', bg_start_time='00:00:00', bg_end_time='00:00:10', bg_color=(0, 106, 167), fg_color=(254, 204, 2))
"""

timer = SimbaTimer(start=True)
Expand Down

0 comments on commit 9be5ab8

Please sign in to comment.