Removed redundant function arguments
This commit is contained in:
parent
78ce3a9a11
commit
8137646d5e
1 changed files with 1 additions and 6 deletions
|
|
@ -393,11 +393,8 @@ class StreamingCamera(BaseCamera):
|
||||||
def capture(
|
def capture(
|
||||||
self,
|
self,
|
||||||
output,
|
output,
|
||||||
write_to_file: bool=False,
|
|
||||||
keep_on_disk: bool=True,
|
|
||||||
use_video_port: bool=False,
|
|
||||||
filename: str=None,
|
|
||||||
fmt: str='jpeg',
|
fmt: str='jpeg',
|
||||||
|
use_video_port: bool=False,
|
||||||
resize: Tuple[int, int]=None):
|
resize: Tuple[int, int]=None):
|
||||||
"""
|
"""
|
||||||
Capture a still image to a StreamObject.
|
Capture a still image to a StreamObject.
|
||||||
|
|
@ -407,9 +404,7 @@ class StreamingCamera(BaseCamera):
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
output (CaptureObject/str): Output object to write data bytes to.
|
output (CaptureObject/str): Output object to write data bytes to.
|
||||||
write_to_file (bool): Should the StreamObject write to a file, instead of BytesIO stream?
|
|
||||||
use_video_port (bool): Capture from the video port used for streaming. Lower resolution, faster.
|
use_video_port (bool): Capture from the video port used for streaming. Lower resolution, faster.
|
||||||
filename (str): Name of the stored file. Defaults to timestamp.
|
|
||||||
fmt (str): Format of the capture.
|
fmt (str): Format of the capture.
|
||||||
resize ((int, int)): Resize the captured image.
|
resize ((int, int)): Resize the captured image.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue