Skip to main content
Kent Academic Repository

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

Hughes, Michael R. (2025) Real-time optical imaging acquisition and processing in Python: a practical guide using CAS. Applied Optics, 64 (20). pp. 5837-5842. ISSN 1559-128X. (doi:10.1364/AO.564458) (KAR id:110680)

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.

Item Type: Article
DOI/Identification number: 10.1364/AO.564458
Subjects: Q Science > QC Physics > QC355 Optics
T Technology > TA Engineering (General). Civil engineering (General) > TA1520 Applied optics. Photonics
Institutional Unit: Schools > School of Engineering, Mathematics and Physics
Schools > School of Engineering, Mathematics and Physics > Physics and Astronomy
Former Institutional Unit:
There are no former institutional units.
Funders: Biotechnology and Biological Sciences Research Council (https://ror.org/00cwqg982)
Engineering and Physical Sciences Research Council (https://ror.org/0439y7842)
Royal Society (https://ror.org/03wnrjx87)
Depositing User: Michael Hughes
Date Deposited: 17 Jul 2025 20:33 UTC
Last Modified: 22 Jul 2025 09:23 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/110680 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views of this page since July 2020. For more details click on the image.