-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Hand Detection #2868
base: main
Are you sure you want to change the base?
feat: Hand Detection #2868
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -3,13 +3,15 @@ import { useRef, useState, useCallback, useMemo } from 'react' | |||
import type { GestureResponderEvent } from 'react-native' | |||
import { StyleSheet, Text, View } from 'react-native' | |||
import type { PinchGestureHandlerGestureEvent } from 'react-native-gesture-handler' | |||
import { NativeViewGestureHandler } from 'react-native-gesture-handler' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tsc] <6133> reported by reviewdog 🐶
'NativeViewGestureHandler' is declared but its value is never read.
@@ -29,6 +31,7 @@ import { useIsFocused } from '@react-navigation/core' | |||
import { usePreferredCameraDevice } from './hooks/usePreferredCameraDevice' | |||
import { examplePlugin } from './frame-processors/ExamplePlugin' | |||
import { exampleKotlinSwiftPlugin } from './frame-processors/ExampleKotlinSwiftPlugin' | |||
import { ColorChannel, Paint, PaintStyle, PointMode, Skia, StrokeJoin, TileMode } from '@shopify/react-native-skia' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tsc] <6133> reported by reviewdog 🐶
'ColorChannel' is declared but its value is never read.
@@ -29,6 +31,7 @@ import { useIsFocused } from '@react-navigation/core' | |||
import { usePreferredCameraDevice } from './hooks/usePreferredCameraDevice' | |||
import { examplePlugin } from './frame-processors/ExamplePlugin' | |||
import { exampleKotlinSwiftPlugin } from './frame-processors/ExampleKotlinSwiftPlugin' | |||
import { ColorChannel, Paint, PaintStyle, PointMode, Skia, StrokeJoin, TileMode } from '@shopify/react-native-skia' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tsc] <6133> reported by reviewdog 🐶
'Paint' is declared but its value is never read.
@@ -29,6 +31,7 @@ import { useIsFocused } from '@react-navigation/core' | |||
import { usePreferredCameraDevice } from './hooks/usePreferredCameraDevice' | |||
import { examplePlugin } from './frame-processors/ExamplePlugin' | |||
import { exampleKotlinSwiftPlugin } from './frame-processors/ExampleKotlinSwiftPlugin' | |||
import { ColorChannel, Paint, PaintStyle, PointMode, Skia, StrokeJoin, TileMode } from '@shopify/react-native-skia' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tsc] <6133> reported by reviewdog 🐶
'PointMode' is declared but its value is never read.
@@ -29,6 +31,7 @@ import { useIsFocused } from '@react-navigation/core' | |||
import { usePreferredCameraDevice } from './hooks/usePreferredCameraDevice' | |||
import { examplePlugin } from './frame-processors/ExamplePlugin' | |||
import { exampleKotlinSwiftPlugin } from './frame-processors/ExampleKotlinSwiftPlugin' | |||
import { ColorChannel, Paint, PaintStyle, PointMode, Skia, StrokeJoin, TileMode } from '@shopify/react-native-skia' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tsc] <6133> reported by reviewdog 🐶
'TileMode' is declared but its value is never read.
const shader = Skia.RuntimeShaderBuilder(effect) | ||
|
||
const invert = Skia.RuntimeShaderBuilder( | ||
Skia.RuntimeEffect.Make(` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tsc] <2345> reported by reviewdog 🐶
Argument of type 'SkRuntimeEffect | null' is not assignable to parameter of type 'SkRuntimeEffect'.
What
Simple hand detection demo
demo.mp4
Changes
Tested on
Related issues