fix
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<!-- <div class="video"> -->
|
||||
<div class="mainvideo">
|
||||
<p>Camera view:</p>
|
||||
<canvas id="result-video" style="border: 1px solid blue;" width="800" height="600">
|
||||
<canvas id="result-video" style="border: 1px solid blue;" width="800" height="600"></canvas>
|
||||
<div id="connectedbuttons">
|
||||
<div id="connectedstatus">
|
||||
<p id="connectedlabel">Connected: <%- api_connected %></p>
|
||||
|
||||
@@ -71,7 +71,7 @@ class CameraController(Node):
|
||||
try:
|
||||
while(vid.isOpened()):
|
||||
img, frame = vid.read()
|
||||
self.get_logger().info("frame before: " + str(frame.shape))
|
||||
# self.get_logger().info("frame before: " + str(frame.shape))
|
||||
#frame = cv2.resize(frame,(RES_4K_W,RES_4K_H))
|
||||
#print("frame after: " + str(frame.shape))
|
||||
encode_param = [int(cv2.IMWRITE_JPEG_QUALITY), 100]
|
||||
|
||||
Reference in New Issue
Block a user