working
This commit is contained in:
12
.idea/workspace.xml
generated
12
.idea/workspace.xml
generated
@ -150,7 +150,7 @@
|
||||
<workItem from="1756053672258" duration="16821000" />
|
||||
<workItem from="1756216787734" duration="969000" />
|
||||
<workItem from="1756632365037" duration="26000" />
|
||||
<workItem from="1757522631129" duration="2094000" />
|
||||
<workItem from="1757522631129" duration="2261000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="initial commit">
|
||||
<option name="closed" value="true" />
|
||||
@ -176,7 +176,15 @@
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1757526666977</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="4" />
|
||||
<task id="LOCAL-00004" summary="working">
|
||||
<option name="closed" value="true" />
|
||||
<created>1757526984452</created>
|
||||
<option name="number" value="00004" />
|
||||
<option name="presentableId" value="LOCAL-00004" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1757526984452</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="5" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
||||
@ -16,8 +16,7 @@ class Method:
|
||||
def __init__(self, method_type):
|
||||
self.method_type = method_type
|
||||
|
||||
print(method_type)
|
||||
if method_type is "cam":
|
||||
if method_type == "cam":
|
||||
self.cap = cv2.VideoCapture(0)
|
||||
|
||||
if not self.cap.isOpened():
|
||||
|
||||
Reference in New Issue
Block a user