Skip to content

Commit

Permalink
✨: add mediapipe basics
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamer92000 committed Nov 9, 2022
1 parent c6280a5 commit 0e511f9
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 107 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"@babel/plugin-syntax-flow": "7.18.6",
"@babel/plugin-transform-react-jsx": "7.19.0",
"@craco/craco": "6.4.5",
"@mediapipe/camera_utils": "^0.3.1640029074",
"@mediapipe/drawing_utils": "^0.3.1620248257",
"@mediapipe/pose": "^0.5.1635988162",
"@reduxjs/toolkit": "1.8.6",
"@testing-library/react": "13.4.0",
"@types/jest": "29.2.0",
Expand Down
42 changes: 27 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/hooks/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const useApi = () => {
* Uses the configured {@link config.websocketUrl} to connect to the websocket.
* @returns {ApiSocketConnection} the created {@link ApiSocketConnection}
*/
const openSocket = async (): Promise<ApiSocketConnection> => {
const openSocket = (): ApiSocketConnection => {
return new ApiSocketConnection(token, window._env_.WEBSOCKET_URL);
};

Expand Down
Loading

0 comments on commit 0e511f9

Please sign in to comment.