We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f461f commit 0df676aCopy full SHA for 0df676a
cv2_drivers/displays/cv2_display.py
@@ -138,9 +138,9 @@ def savePinModeAlt(self, pin):
138
# Return the mode and alt as a tuple
139
return (mode, alt)
140
141
- def splash(self):
+ def splash(self, filename="splash.png"):
142
try:
143
- self.imshow(cv2.imread("splash.png"))
+ self.imshow(cv2.imread(filename))
144
return True
145
except Exception:
146
return False
0 commit comments