Spaces:
Sleeping
Sleeping
Upload webapp.py
Browse files
webapp.py
CHANGED
@@ -125,12 +125,12 @@ def main():
|
|
125 |
# camera = cv2.VideoCapture(0)
|
126 |
|
127 |
|
128 |
-
|
|
|
129 |
while run:
|
130 |
|
131 |
# Capture frame-by-frame
|
132 |
# Grab a single frame of video
|
133 |
-
frame_buffer = st.camera_input("Take a picture")
|
134 |
|
135 |
if frame_buffer is not None:
|
136 |
bytes_data = frame_buffer.getvalue()
|
|
|
125 |
# camera = cv2.VideoCapture(0)
|
126 |
|
127 |
|
128 |
+
frame_buffer = st.camera_input("Take a picture")
|
129 |
+
|
130 |
while run:
|
131 |
|
132 |
# Capture frame-by-frame
|
133 |
# Grab a single frame of video
|
|
|
134 |
|
135 |
if frame_buffer is not None:
|
136 |
bytes_data = frame_buffer.getvalue()
|