用Python连接摄像头,实时标注图像,加速科研数据准备
LivePyxel: Accelerating image annotations with a Python-integrated webcam live streaming
- 通过Python接口直连摄像头/显微镜,支持现场实时标注
- 内置贝塞尔曲线和二值掩码,非破坏性图层提升编辑效率
- 适配多种视频设备,专为物体检测优化,适合实验室科研人员
现有图像标注工具多需预先上传数据集,难以支持现场实时采集,在实验室环境中尤其受限。本文提出LivePyxel,一个基于Python的图形化界面,可直接接入网络摄像头、显微镜等成像设备,实现现场图像的即时标注。软件提供类专业图像编辑工具,支持贝塞尔样条和二值掩码,采用非破坏性图层设计,便于高效编辑。系统集成OpenCV与高性能矩阵运算库Numpy,显著提升对象检测任务的处理速度。该工具可无缝衔接实验流程,实现数据采集与标注一体化,大幅加速人工智能模型在科研场景中的开发部署。代码已开源:https://github.com/UGarCil/LivePyxel
原文摘要 · Abstract (English)
The lack of flexible annotation tools has hindered the deployment of AI models in some scientific areas. Most existing image annotation software requires users to upload a precollected dataset, which limits support for on-demand pipelines and introduces unnecessary steps to acquire images. This constraint is particularly problematic in laboratory environments, where on-site data acquisition from instruments such as microscopes is increasingly common. In this work, we introduce \texttt{LivePixel}, a Python-based graphical user interface that integrates with imaging systems, such as webcams, microscopes, and others, to enable on-site image annotation. LivePyxel is designed to be easy to use through a simple interface that allows users to precisely delimit areas for annotation using tools commonly found in commercial graphics editing software. Of particular interest is the availability of Bézier splines and binary masks, and the software's capacity to work with non-destructive layers that enable high-performance editing. LivePyxel also integrates a wide compatibility across video devices, and it's optimized for object detection operations via the use of OpenCV in combination with high-performance libraries designed to handle matrix and linear algebra operations via Numpy effectively. LivePyxel facilitates seamless data collection and labeling, accelerating the development of AI models in experimental workflows. LivePyxel is freely available at https://github.com/UGarCil/LivePyxel
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。