HUB
Sign inSign up
imageloader logo

camicroscope/imageloader

By camicroscope

•Updated about 9 years ago

Image Loader for loading image metadata into mongo.

Image
Machine learning & AI
Data science
0

1.0K

camicroscope/imageloader repository overview

⁠Dataloader API Build Status

Following examples assume <API_PORT>==32799

⁠POST /submitData

This is a multipart post request with fields:

  • case_id: Identified of the image
  • upload: Image file path

Example:

curl -v -F case_id=TCGA-02-0001 -F upload=@TCGA-02-0001-01Z-00-DX1.83fce43e-42ac-4dcd-b156-2908e75f2e47.svs http://localhost:32799/submitData

Return type: json On success returns: {"status":"success"}

⁠GET /subjectIdExists

curl localhost:32799/subjectIdExists?SubjectUID=TCGA-02-0001 Returns an array with subjectID and file path. Empty array if subject Id doesnt exist

⁠GET /getMD5ForImage

curl localhost:32799/getMD5ForImage?imageFileName=TCGA-02-0001-01Z-00-DX1.83fce43e-42ac-4dcd-b156-2908e75f2e47.svs Returns an array with MD5 of the image [{"md5sum":"418a0724b0a2113bcd2956bacae105b7"}]

Tag summary
Recent tags
Content type
Image
Digest
Size
436.3 MB
Last updated
about 9 years ago
docker pull camicroscope/imageloader:latest