Skip to content
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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

feat: Hand Detection #2868

wants to merge 6 commits into from

Conversation

mrousavy
Copy link
Owner

What

Simple hand detection demo

demo.mp4

Changes

Tested on

Related issues

Copy link

vercel bot commented May 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 11:26am

package/example/src/CameraPage.tsx Show resolved Hide resolved
package/example/src/CameraPage.tsx Show resolved Hide resolved
package/example/src/CameraPage.tsx Outdated Show resolved Hide resolved
package/example/src/CameraPage.tsx Outdated Show resolved Hide resolved
package/example/src/CameraPage.tsx Outdated Show resolved Hide resolved
@@ -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'
Copy link
Contributor

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'
Copy link
Contributor

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'
Copy link
Contributor

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'
Copy link
Contributor

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'
Copy link
Contributor

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(`
Copy link
Contributor

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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant