๐Ÿซ ๐“๐ก๐จ๐ซ๐š๐ฑ๐†๐๐“ ๐Ÿ๐ซ๐จ๐ฆ ๐–๐ข๐ฌ๐ก

Written by  on October 20, 2026 

A very good friend of mine had a CT of his chest taken last week. And then he had his images. And no medical evaluation.

So I said: Come, let’s get this done at home and prepare an app where ๐ฐ๐ž ๐œ๐š๐ง ๐ž๐ฏ๐š๐ฅ๐ฎ๐š๐ญ๐ž ๐ญ๐ก๐ž ๐ฌ๐œ๐š๐ง๐ฌ ๐จ๐ฎ๐ซ๐ฌ๐ž๐ฅ๐ฏ๐ž๐ฌ. The idea was simple: let’s figure out what existing models and tools from the public domain can be used to evaluate those images and detect issues. As well as: how to run them and what quirks are known. After realizing that several of them are not just ML models, but LLMs, the path with local hosting via #Ollama was clear: who would like to see their most intimate data in the cloud?

A bit of #Python for the backend, a bit of HTML and CSS for the front, tons of Ollama models and several iterations later to understand what the models actually return, jobs for queuing work, polishing, done.

๐Ÿ˜‚ I have to admit, if it was this easy, I would have finished this “oh, this should not take long” project way earlier. Several assumptions were wrong, outcomes from random sampling of the CT scans were not good, model quality was … let’s say most are overconfident when praising what they can do – so I also added a pre-rating for each of them. Since I am no doctor – the user is still free to override this. My recommendation is “๐ฆ๐จ๐ง๐š๐ข_๐ฅ๐ฎ๐ง๐ _๐ง๐จ๐๐ฎ๐ฅ๐ž” as a model. Another obstacle was finding good medical data, since I wanted to keep the data to analyse separate from the “development data”. Then: does it make sense to prepare synthetic data (…not) and why is #DICOM a standard when there are some deviations in the medical data?

Nevertheless: all is solved now. The app works and gives human-readable results.
There is still no evaluation from an expert, but based on the app I prepared, I would say: ๐ก๐ข๐ฌ ๐๐š๐ญ๐š ๐ฅ๐จ๐จ๐ค๐ฌ ๐ ๐จ๐จ๐, ๐ง๐จ๐ญ๐ก๐ข๐ง๐  ๐ซ๐ž๐š๐ฅ๐ฅ๐ฒ ๐ญ๐จ ๐ฐ๐จ๐ซ๐ซ๐ฒ ๐š๐›๐จ๐ฎ๐ญ. This is, of course, not a medical diagnosis.

So, mission done.

๐†๐ข๐ญ๐‡๐ฎ๐› -> ๐ฆ๐š๐ซ๐œ๐ž๐ฅ๐ฉ๐ž๐ญ๐ซ๐ข๐œ๐ค -> ๐“๐ก๐จ๐ซ๐š๐ฑ๐†๐๐“_๐Ÿ๐ซ๐จ๐ฆ_๐–๐ข๐ฌ๐ก
https://github.com/marcelpetrick/ThoraxGPT_from_Wish

 

Category : agentic AI โ€ข Python