Skip to content

Conversation

adzhindzhi
Copy link
Contributor

@adzhindzhi adzhindzhi commented Oct 1, 2025

Resolves

UEPR-314

Proposed Changes

  • Extract TILT_THRESHOLD AND defaultPos as constants
  • Use enums for menu item values

Note: The ticket suggests replacing numeric face part IDs with descriptive string constants. Since these IDs come from TensorFlow keypoints, we would still need a mapping between the two. Using the enum already makes the code clear enough, so this change is no longer necessary.

Reason for Changes

Improve readability and maintainability of the face sensing codebase

@adzhindzhi adzhindzhi requested a review from a team as a code owner October 1, 2025 09:00
@adzhindzhi adzhindzhi requested a review from KManolov3 October 1, 2025 09:01
@adzhindzhi adzhindzhi merged commit 65628f9 into scratchfoundation:UEPR-282-face-sensing Oct 1, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants