first commit

This commit is contained in:
编码猿
2025-01-23 01:13:29 +08:00
commit 9f8f9839a4
18 changed files with 147 additions and 0 deletions

1
ai/__init__.py Normal file
View File

@@ -0,0 +1 @@
from .checkHandStatic import *

Binary file not shown.

Binary file not shown.

12
ai/checkHandStatic.py Normal file
View File

@@ -0,0 +1,12 @@
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
class checkHandStatic:
modelName: str = 'damo/cv_mobileface_hand-static'
def check(self, url):
hand_static = pipeline(
task=Tasks.hand_static,
model=self.modelName
)
return hand_static(url)