Skip to main content

🩺 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.

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)

Source distribution for MedImageInsights 0.1.1
File Size Uploaded
medimageinsights-0.1.1.tar.gz 611.7 kB Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page