Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jan 29, 2025
1 parent 2b22e49 commit 7d84ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src-admin/src/Tabs/Persons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
TableHead,
TableBody,
Fab,
CircularProgress,
LinearProgress,
} from '@mui/material';

Expand Down
2 changes: 2 additions & 0 deletions src-admin/src/components/Camera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class Camera extends React.Component<CameraProps, CameraState> {
return uniqueDevices;
}

/*
drawOverlayOnCanvas(): void {
if (this.refInnerCanvas.current) {
// Fill the canvas with white and draw a circle in the middle with 80% of the width
Expand All @@ -130,6 +131,7 @@ export class Camera extends React.Component<CameraProps, CameraState> {
}
}
}
*/

static getAngle(detections: { detection: FaceDetection; landmarks: FaceLandmarks68 }): [0 | 1 | -1, number] {
const eyeRight = getMeanPosition(detections.landmarks.getRightEye());
Expand Down

0 comments on commit 7d84ec2

Please sign in to comment.