Get codespell passing and add it as a CI job.
This commit is contained in:
parent
e33fecaef0
commit
7e6017f648
25 changed files with 113 additions and 85 deletions
|
|
@ -86,7 +86,7 @@ class OpenCVCamera(BaseCamera):
|
|||
It's likely to be highly inefficient - raw and/or uncompressed captures using
|
||||
binary image formats will be added in due course.
|
||||
"""
|
||||
logging.warning(f"OpenCV camera doen't respect {resolution} setting")
|
||||
logging.warning(f"OpenCV camera doesn't respect {resolution} setting")
|
||||
ret, frame = self.cap.read()
|
||||
if not ret:
|
||||
raise RuntimeError(
|
||||
|
|
@ -104,7 +104,7 @@ class OpenCVCamera(BaseCamera):
|
|||
|
||||
This function will produce a JPEG image.
|
||||
"""
|
||||
logging.warning(f"OpenCV camera doen't respect {resolution} setting")
|
||||
logging.warning(f"OpenCV camera doesn't respect {resolution} setting")
|
||||
frame = self.capture_array()
|
||||
jpeg = cv2.imencode(".jpg", frame)[1].tobytes()
|
||||
exif_dict = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue