Skip to content

darwinai/pl-pdfgeneration

Repository files navigation

pl-pdfgeneration

image

image

image

Table of Contents

Abstract

An app that takes in prediction results and generates PDF

Synopsis

python pdfgeneration.py                                           \
    [-v <level>] [--verbosity <level>]                          \
    [--version]                                                 \
    [--man]                                                     \
    [--meta]                                                    \
    <inputDir>
    <outputDir> 

Description

pdfgeneration.py is a ChRIS-based application that...

Agruments

[-v <level>] [--verbosity <level>]
Verbosity level for app. Not used currently.

[--version]
If specified, print version number. 

[--man]
If specified, print (this) man page.

[--meta]
If specified, print plugin meta data.

[--imagefile]
required field, the name of the patient chest X-Ray image

[--patientId]
patient's id

Local Build

DOCKER_BUILDKIT=1 docker build -t local/pl-covidnet-pdfgeneration .

Run

docker run --rm -u $(id -u):$(id -g) \
    -v $PWD/in:/incoming:ro -v $PWD/out:/outgoing:rw \
    darwinai/pl-covidnet covidnet \
    --imagefile ex-covid.jpg /incoming /outgoing

docker run --rm -u $(id -u):$(id -g) \
    -v $PWD/out:/incoming:ro -v $PWD/out:/outgoing:rw \
    darwinai/pl-covidnet-pdfgeneration pdfgeneration \
    --imagefile ex-covid.jpg --patientId 12345678 /incoming /outgoing