Spaces:
Runtime error
Runtime error
srivatsavdamaraju
commited on
Commit
•
c1f7ac7
1
Parent(s):
01985bb
Update app2.py
Browse files
app2.py
CHANGED
@@ -46,7 +46,7 @@ def process_frame(frame):
|
|
46 |
edges_colored = cv2.resize(edges_colored, depth_map_gray.shape[1::-1])
|
47 |
|
48 |
# Create an overlay
|
49 |
-
alpha = 0.
|
50 |
overlay = cv2.addWeighted(depth_map_gray, alpha, edges_colored, alpha, 0)
|
51 |
overlay_gray = cv2.cvtColor(overlay, cv2.COLOR_BGR2GRAY)
|
52 |
|
|
|
46 |
edges_colored = cv2.resize(edges_colored, depth_map_gray.shape[1::-1])
|
47 |
|
48 |
# Create an overlay
|
49 |
+
alpha = 0.9
|
50 |
overlay = cv2.addWeighted(depth_map_gray, alpha, edges_colored, alpha, 0)
|
51 |
overlay_gray = cv2.cvtColor(overlay, cv2.COLOR_BGR2GRAY)
|
52 |
|