Skip to content

Commit

Permalink
update: 色補正回頭の指定色に青色を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashitom committed Nov 3, 2024
1 parent a420905 commit a2c3f08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front_camera/front_camera/color_rectangle_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class ColorRectangleDetector:
# 色のHSV範囲を定数として定義
COLOR_BOUNDS = {
'YELLOW': ((20, 160, 160), (30, 255, 255)),
'BLUE': ((100, 70, 50), (140, 255, 255)),
'RED': [
((0, 70, 50), (10, 255, 255)), # 赤色の低色相側
((173, 70, 50), (180, 255, 255)) # 赤色の高色相側
Expand Down

0 comments on commit a2c3f08

Please sign in to comment.