mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
Update main.py
This commit is contained in:
parent
4fbfcf2d00
commit
c3877f894e
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ def scan_view():
|
|||
@app.route("/api/v1/image_reco", methods=['POST'])
|
||||
def image_recognition():
|
||||
"""
|
||||
returns json formatted description of an image
|
||||
generate a description of an image
|
||||
|
||||
:return: json
|
||||
"""
|
||||
# note that the classifier is a singleton
|
||||
if 'image' not in request.files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue