Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1227 add edge logging
Browse files Browse the repository at this point in the history
d-perl committed Mar 8, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 2ed87bc commit a0c4f78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyperion/experiment_plans/oav_grid_detection_plan.py
Original file line number Diff line number Diff line change
@@ -105,8 +105,8 @@ def grid_detection_plan(
# only use the area from the start of the pin onwards
top_edge = top_edge[tip_x_px : tip_x_px + grid_width_pixels]
bottom_edge = bottom_edge[tip_x_px : tip_x_px + grid_width_pixels]
LOGGER.info(f"OAV Edge detection top: {top_edge}")
LOGGER.info(f"OAV Edge detection bottom: {bottom_edge}")
LOGGER.info(f"OAV Edge detection top: {list(top_edge)}")
LOGGER.info(f"OAV Edge detection bottom: {list(bottom_edge)}")

# the edge detection line can jump to the edge of the image sometimes, filter
# those points out, and if empty after filter use the whole image

0 comments on commit a0c4f78

Please sign in to comment.