Skip to content

Commit

Permalink
fix PR
Browse files Browse the repository at this point in the history
  • Loading branch information
maxspier committed Dec 29, 2024
1 parent 4cc4996 commit 10c993f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ <h1>AprilTag Detection with Controls and Pose Data</h1>
</div>
<div class="control">
<input type="checkbox" id="rotate-image-vertically" name="rotate-image-vertically">
<label for="rotate-image-vertically">Rotate Image Vertically</label>
<label for="rotate-image-vertically">Rotate Image (CHECK BOTH BOXES) </label>
</div>
<div class="control">
<input type="checkbox" id="rotate-image-horizontally" name="rotate-image-horizontally">
<label for="rotate-image-horizontally">Rotate Image Horizontally</label>
<label for="rotate-image-horizontally">Rotate Image (CHECK BOTH BOXES) </label>
</div>

</div>
Expand Down
12 changes: 6 additions & 6 deletions src/ws_server.cu
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,12 @@ class AprilTagHandler : public seasocks::WebSocket::Handler {
if(flipVertical_ && flipHorizontal_){
flipBoth(bgr_img.clone(), &bgr_img);
} else {
if (flipVertical_) {
flipVertical(bgr_img.clone(), &bgr_img);
}
if (flipHorizontal_) {
flipHorizontal(bgr_img.clone(), &bgr_img);
}
// if (flipVertical_) {
// flipVertical(bgr_img.clone(), &bgr_img);
// }
// if (flipHorizontal_) {
// flipHorizontal(bgr_img.clone(), &bgr_img);
// }
}


Expand Down

0 comments on commit 10c993f

Please sign in to comment.