first commit
This commit is contained in:
9
main.py
Normal file
9
main.py
Normal 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)
|
||||
Reference in New Issue
Block a user