Update server/app/image_pipeline.py
Build and push server image / build-and-push (push) Successful in 46s
Build and push server image / build-and-push (push) Successful in 46s
Fix pallette defaults
This commit is contained in:
@@ -53,12 +53,12 @@ def logical_to_native(x: float, y: float, orientation: str) -> tuple[int, int]:
|
|||||||
# a rendered test image against the real panel; different panel units
|
# a rendered test image against the real panel; different panel units
|
||||||
# can vary enough to be worth calibrating per frame).
|
# can vary enough to be worth calibrating per frame).
|
||||||
DEFAULT_PALETTE_RGB = [
|
DEFAULT_PALETTE_RGB = [
|
||||||
(0, 0, 0), # BLACK
|
(0, 0, 0), # BLACK
|
||||||
(255, 255, 255), # WHITE
|
(255, 255, 255), # WHITE
|
||||||
(255, 243, 56), # YELLOW
|
(255, 219, 0), # YELLOW
|
||||||
(191, 0, 0), # RED
|
(207, 0, 15), # RED
|
||||||
(100, 64, 255), # BLUE
|
(0, 39, 133), # BLUE
|
||||||
(67, 138, 28), # GREEN
|
(0, 133, 55), # GREEN
|
||||||
]
|
]
|
||||||
|
|
||||||
PALETTE_LABELS = ["Black", "White", "Yellow", "Red", "Blue", "Green"]
|
PALETTE_LABELS = ["Black", "White", "Yellow", "Red", "Blue", "Green"]
|
||||||
|
|||||||
Reference in New Issue
Block a user