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

9
main.py Normal file
View File

@@ -0,0 +1,9 @@
from fastapi import FastAPI
from ai.checkHandStatic import checkHandStatic
app = FastAPI()
# http://0.0.0.0:9741/ai/check_hand?url=http://bj-mc-prod-asset.oss-cn-beijing.aliyuncs.com/wiki-pic/Gesture13.jpg
@app.get("/ai/check_hand")
async def checkHand(url: str = ''):
hand = checkHandStatic()
return hand.check(url)