Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Python utility that also does image loading. Used for large scale image loading where images are already available and all that is needed is to extract and store the metadata.

Notifications You must be signed in to change notification settings

camicroscope/ImageLoader.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Loader

Python utility to extract metadata from OpenSlide images and post them to a RESTful interface

Installation:

  • Tested on python 3.5.0.
  • pip install -r requirements.txt

Make sure you have LD_LIBRARY_PATH set up

Usage:

python dataLoader.py -i <inputCSVFile> -o <RESTinterface> -a <API key>

Input.csv

This is the format of input.csv

Id, study_id, File
test1,default,/data/images/CMU-1.svs
test2,default,/data/images/CMU-2.svs

where

  • Id is the case_id of the image
  • study_id is the study_id
  • File is the file location on disk.

Issues

ImportError: libopenjp2.so.7: cannot open shared object file.

Run

export LD_LIBRARY_PATH=/usr/local/lib to fix this.

About

Python utility that also does image loading. Used for large scale image loading where images are already available and all that is needed is to extract and store the metadata.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages