Real-time optical imaging acquisition and processing in Python: a practical guide using CAS

Real-time data acquisition and processing is an important step in the development of new approaches to optical imaging in research laboratories. Python is increasingly used for scientific computing and allows for the straightforward application of artificial intelligence models using popular frameworks such as PyTorch. However, achieving high-speed image capture and processing in real time is challenging and requires extensive development work, a particular problem for academic labs where research teams may lack specialist expertise in software development. This note provides guidelines for achieving high performance in Python for optical imaging applications and introduces an open-source framework "CAS" for rapid prototyping of imaging system software. CAS includes a hardware abstraction layer for cameras, a ready-made GUI, which can easily be customized, as well as support for using multiple CPU cores for parallelism. By providing an open-source and flexible Python-based solution, CAS can support research teams to more quickly develop real-time imaging systems.

Authors

Publication Details

Journal
Applied Optics
Published
2025-06-17
DOI
https://doi.org/10.1364/ao.564458
Primary Topic
Advanced Fluorescence Microscopy Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Real-time optical imaging acquisition and processing in Python: a practical guide using CAS

Michael Hughes
Applied Optics
Advanced Fluorescence Microscopy Techniques
article

Real-time optical imaging acquisition and processing in Python: a practical guide using CAS

Michael Hughes
article en

Abstract

Real-time data acquisition and processing is an important step in the development of new approaches to optical imaging in research laboratories. Python is increasingly used for scientific computing and allows for the straightforward application of artificial intelligence models using popular frameworks such as PyTorch. However, achieving high-speed image capture and processing in real time is challenging and requires extensive development work, a particular problem for academic labs where research teams may lack specialist expertise in software development. This note provides guidelines for achieving high performance in Python for optical imaging applications and introduces an open-source framework "CAS" for rapid prototyping of imaging system software. CAS includes a hardware abstraction layer for cameras, a ready-made GUI, which can easily be customized, as well as support for using multiple CPU cores for parallelism. By providing an open-source and flexible Python-based solution, CAS can support research teams to more quickly develop real-time imaging systems.

Applied OpticsVol. 64(20)
Royal Society, Engineering and Physical Sciences Research Council, Biotechnology and Biological Sciences Research Council
Openalex Percentile: Top 90%
Advanced Fluorescence Microscopy Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Real-time optical imaging acquisition and processing in Python: a practical guide using CAS — Michael Hughes · Applied Optics (2025) | TGRS Research Map | TGRS