Implement looking direction indicator for face detection#62
Draft
Implement looking direction indicator for face detection#62
Conversation
Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add face direction detection visualization
Implement looking direction indicator for face detection
Oct 12, 2025
Keboo
approved these changes
Oct 12, 2025
Owner
|
@copilot rebase on latest master and resolve conflicts |
Contributor
Author
Rebase completed successfully on latest master (commit 459f596). The looking direction feature has been preserved and the conflicts have been resolved. The branch is ready but requires a force push to update the remote. Changes: 73 lines added to MainWindowViewModel.cs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds visual indicators showing which direction detected faces are looking, using facial landmark analysis.
What's Changed
When faces are detected with facial landmarks, the application now draws a directional indicator line from the face bounding box showing which way the person is looking. The indicator uses five distinct directions:
Implementation
The direction is calculated by analyzing the position of the nose relative to the center point between the eyes:
This ratio is normalized by the distance between eyes, making it robust across different face sizes and distances from the camera. Direction thresholds are applied to the ratio to determine which of the five directions the face is looking.
Visual Example
Features
Fixes #[issue_number]
Original prompt
Fixes #61
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.