🩺 MedImageInsights
MedImageInsights is a package streamlined of the original HuggingFace repository mantained by the Lion-AI team available here. Its purpose is to make it easier to integrate the medical image embedding model MedImageInsight in Python projects by removing unecessary modules, simplifying dependencies and offering a clean pip install interface.
The official guide to download and use the model belongs to Microsoft and it is defined as open-source though the installation process is quite complicated. Moreover, the model version of Lion-AI requires the cloning of the repository and the use of a package manager.
Thus, in this work we present an easy to use pip library for the model MedImageInsight. By packaging and simplifying some of the code in the repository owned by Lion-AI we are able to make it even easier to use the model, without needing to use Microsoft Azure services or downloading the whole code from the HuggingFace repo. On the contrary, the user can simply install the library MedImageInsights via PyPi in order to use the model for tasks such as zero-shot classification or embedding generation.
💿 Installation
As mentioned above, the library can easily installed via pip:
pip install medimageinsights
📝 Tutorials
Once you have installed the library on your environment, you can test it by running this example script.
A python notebook is also provided, that can be either run on your device or in Google Colab. You may preview the notebook here or directly run it on Colab here.
🌟 Acknowledgements
Both the original Lion-AI repo and this package are based on the work described in the paper "MedImageInsight: An Open-Source Embedding Model for General Domain Medical Imaging" by Noel C. F. Codella et al (arXiv:2410.06542).
Most of the implementation is inherited from the Lion-AI repository. Credit is due to Noel C. F. Codella et al., and the Lion-AI team for designing, training, and publishing the original model and code.
Metadata
Release files for MedImageInsights 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| medimageinsights-0.1.1.tar.gz | 611.7 kB | Without provenance | Details for medimageinsights-0.1.1.tar.gz |
Release files / medimageinsights-0.1.1.tar.gz
| Download URL | medimageinsights-0.1.1.tar.gz |
|---|---|
| Size | 611.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fc65924cb88282db61ade27421a2f43a96a430dd3090c7a0392a30ea4159645
|
|
BLAKE2b-256 checksum How to use checksums |
5c231f8c546b64db002d0ac101dee6808d9ba008717485fcf5329d30ed8b06be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Security for MedImageInsights 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.