Added dummy face detection node, integrated with BiteInitiation #37
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.
Describe this pull request. Link to relevant GitHub issues, if any.
In service of #27 .
Added a dummy FaceDetection node that detects a face and mouth periodically (in practice, it detects a face every ~5 secs and detects an open mouth every ~10 secs). Integrated that with
BiteInitiation.jsx
so that it waits for the robot to detect a face before letting the user continue, and then lets the user continue with either an open mouth or button press. It stores the detected mouth center in global state so thatMoveToMouth.jsx
can access it.Explain how this pull request was tested, including but not limited to the below checkmarks.
First, I tested the face detection node by:
Then, I tested the BiteInitiation page by:
Before creating a pull request
npm run format
python3 -m black .
in the top-level of this repositoryBefore merging a pull request
Squash and Merge
)