vince7lf / aerial_wildlife_detection

Tools for detecting wildlife in aerial images using active learning
MIT License
0 stars 0 forks source link

Rendre accessible public le fichier des annotations .csv txt #79

Open vince7lf opened 1 year ago

vince7lf commented 1 year ago

Rendre accessible public le fichier des annotations .csv txt À chaque sauvegarde générer le fichier des exportations et le déposer sous le répertoire public du projet/image

vince7lf commented 1 year ago

requête :

POST /test-mapserver6/requestDownload HTTP/1.1
Host: localhost:7780
Connection: keep-alive
Content-Length: 55
sec-ch-ua: "Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/json; charset=UTF-8
X-Requested-With: XMLHttpRequest
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
sec-ch-ua-platform: "Windows"
Origin: http://localhost:7780
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:7780/test-mapserver6/configuration/dataDownload
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,fr-CA;q=0.8,fr;q=0.7
Cookie: skipTutorial=true; skipAnnotationConfirmation=true; username=admin; session_token="!iCRQ4xyosiwP+WPeU3yFVg==?gASVbAAAAAAAAACMDXNlc3Npb25fdG9rZW6UjFZZa2RPRW52X0pTcjNxSWI0aGV2Z2Rtb3FCeHlzWF9tcG5kd1FRSFpUVXM1ZmE4S3hGUkQzOVRSTnBVMnNIUmt3ZlBSZ1NPWTc5bldJdjVDZDRfRUZqd5SGlC4="; cookieMsgSuppressed=true
vince7lf commented 1 year ago

response :

HTTP/1.0 200 OK
Date: Mon, 14 Nov 2022 19:55:35 GMT
Server: WSGIServer/0.2 CPython/3.7.13
Content-Type: application/json
Content-Length: 129

{"response": {"result": "aide_query_2022-11-14_19-55-32.txt", "status": "SUCCESS", "meta": "aide_query_2022-11-14_19-55-32.txt"}}
vince7lf commented 1 year ago

URL : http://localhost:7780/test-mapserver6/downloadData/aide_query_2022-11-14_19-55-32.txt

File location on server : /app/tmp/aide/downloadRequests/test-mapserver6/aide_query_2022-11-14_19-55-32.txt

vince7lf commented 1 year ago

fait voir modules/LabelUI/static/js/dataHandler.js _exportShareAnnotations