Merge API branch into main #12

Merged
SemvdH merged 334 commits from api into main 2023-06-13 19:54:43 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 402fcbab96 - Show all commits

View File

@@ -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>

View File

@@ -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]