- Fill in the details in service_account_credentials_dummy.py and save as service_account_credentials.py
- Run 'python3 create_jwt.py'
- Copy the printed key
- Open ConnectionManager.swift
- Paste JWT in authString variable and replace old JWT (Must be in the format "Bearer [JWT]"
- I had been running it on an ipad air 3rd generation simulator, but should also run on other simulators !!! Will most likely not run on a device as another compilation of imebra needs to be used for that accroding to the docs !!!
- After startup it may take a few seconds to connect to the API and download the data (Save to enter second view before data is downloaded since the last fix)
- Push the button to get to the image view and enjoy your view of the DICOM images
- Use the slider to play around
- Imebra 5.0.1.1 can be found in the repo
- Download CMake https://cmake.org/download/
- Compile accordingly for use on simulator
mkdir imebra_for_ios_simulator
cd imebra_for_ios_simulator
cmake your_imebra_location -DIOS=SIMULATOR
cmake --build .
Afterwards it may need to be linked as well.
Further information can be found here: https://imebra.com/wp-content/uploads/documentation/5.0/html/compiling_imebra.html