Describe this pull request. Link to relevant GitHub issues, if any.
Depending on the table height, the plate might only take up a small fraction of the robot's camera feed during bite selection. This makes it hard for the user to select a food item on the plate. This PR enables the user to zoom into the plate
Explain how this pull request was tested, including but not limited to the below checkmarks.
Sim:
[x] Go to bite selection. Zoom in and verify it works.
[x] Navigate away from bite selection and go back, verify that it has stored your old Zoom.
[x] Go to DetectingFace and the live video modal, verify that the image is not zoomed there and zoom options don't show up.
[x] Click on the image and verify that segmentation works.
[x] Check BiteSelection in both landscape and portrait modes.
Note: this display is not the best, but is fine.
Real:
[x] Go to bite selection. Zoom in and verify it works.
[x] Navigate away from bite selection and go back, verify that it has stored your old Zoom.
[x] Go to DetectingFace and the live video modal, verify that the image is not zoomed there and zoom options don't show up.
[x] Click on the image and verify that segmentation works.
[x] Check BiteSelection in both landscape and portrait modes.
Before creating a pull request
[x] Format React code with npm run format
[N/A] Format Python code by running python3 -m black . in the top-level of this repository
[x] Thoroughly test your code's functionality, including unintended uses.
[x] Fully test the responsiveness of the feature as documented in the Responsiveness Testing Guidelines. If you deviate from those guidelines, document above why you deviated and what you did instead.
[x] Consider the user flow between states that this feature introduces, consider different situations that might occur for the user, and ensure that there is no way for the user to get stuck in a loop.
Before merging a pull request
[ ] Squash all your commits into one (or Squash and Merge)
Describe this pull request. Link to relevant GitHub issues, if any.
Depending on the table height, the plate might only take up a small fraction of the robot's camera feed during bite selection. This makes it hard for the user to select a food item on the plate. This PR enables the user to zoom into the plate
Explain how this pull request was tested, including but not limited to the below checkmarks.
Sim:
Real:
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
)