Mercurial > hg > orthanc-java
comparison Samples/MammographyDeepLearning/NOTES.txt @ 29:118adbad648f
sharing common properties between samples
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jun 2024 14:44:37 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
28:43923934e934 | 29:118adbad648f |
---|---|
1 | |
2 This sample Java plugin runs a deep learning algorithm for mammography. | |
3 Note that contrarily to the "Basic" and "Dcm4Che" samples that can run | |
4 using Java 1.8, this Java plugin requires Java 11. | |
5 | |
6 (1) Make sure to build the C++ plugin: | |
7 | |
8 # cd ../../Plugin/ | |
9 # mkdir Build | |
10 # cd Build | |
11 # cmake .. -DCMAKE_BUILD_TYPE=Release | |
12 # make -j4 | |
13 | |
14 | |
15 (2) Compile the Java plugin using Maven: | |
16 | |
17 # cd ../../Samples/MammographyDeepLearning | |
18 # mvn compile package | |
19 | |
20 IMPORTANT: By default, this sample plugin targets GNU/Linux | |
21 distributions. To run this plugin on Microsoft Windows or Apple macOS, | |
22 make sure to uncomment the suitable classifier section in "pom.xml" | |
23 (i.e., "win-x86_64", "osx-x86_64", or "osx-aarch64"). | |
24 | |
25 | |
26 (3) Start Orthanc: | |
27 | |
28 On Ubuntu 20.04 or 22.04 (replace "mainline" with the version of the | |
29 Java plugin for Orthanc): | |
30 | |
31 # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ \ | |
32 ORTHANC_JAVA_VERSION=mainline \ | |
33 Orthanc ./configuration.json | |
34 | |
35 IMPORTANT: The DICOMweb plugin must be installed in the current | |
36 directory. | |
37 | |
38 | |
39 (4) Open the Orthanc Explorer interface at: http://localhost:8042/ |