Coder Social home page Coder Social logo

dsalargeimageserver's Introduction

Based on the code from http://localhost:8080/api/v1/item/6595906d482cd2c47d4d615e/tiles/dzi.dzi

https://github.com/girder/large_image/blob/master/large_image/tilesource/jupyter.py

This is trying to generate a FASTAPI light weight dockerized tile server as well as also integrate deID components and functions

Getting started

docker compose build docker compose up

This starts a FASTAPI server, which exposes the functions I have been developed. Note this is still in alpha, and I am refactoring.

To access the fastAPI page, go to http://localhost:80/docs

The most relevant function now is the testDeidWorkflow function, which is contained in the fastApiTileServer.py file. This calls the various functions needed to point to an SVS file, and remove the label and deidentify it.

To test the other functions, you can use the slideID == "sample", which will reference a sampleSlide.svs file I have in the container. In the long term, I will clarify the path that needs to be bind-mounted within the docker container... it will probably wind up binding the path from where your files are living outside the dockerhost to /localData within the docker container, and then everything will be relative to the base path. Will need to provide some examples so this is more intuitive.

dsalargeimageserver's People

Contributors

dgutman avatar pearcetm avatar

Watchers

 avatar  avatar

Forkers

pearcetm

dsalargeimageserver's Issues

Dockerized vs plain

Docker's great for testing, of course, but we should also make sure these functions work independently without being coupled to docker and/or fastapi.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.