Department of Electrical and Computer Engineering, University of California Santa Cruz, Santa Cruz, CA, United States of America.
Genomics Institute, University of California Santa Cruz, Santa Cruz, CA, United States of America.
PLoS One. 2023 Sep 8;18(9):e0290951. doi: 10.1371/journal.pone.0290951. eCollection 2023.
For a transparent well with a known volume capacity, changes in fluid level result in predictable changes in magnification of an overhead light source. For a given well size and fluid, the relationship between volume and magnification can be calculated if the fluid's index of refraction is known or in a naive fashion with a calibration procedure. Light source magnification can be measured through a camera and processed using computer vision contour analysis with OpenCV. This principle was applied in the design of a 3D printable sensing device using a raspberry pi zero and a camera.
对于一个具有已知容积的透明井,液位的变化会导致上方光源的放大倍数发生可预测的变化。对于给定的井尺寸和液体,如果已知液体的折射率,或者通过校准程序以一种简单的方式,可以计算出体积和放大倍数之间的关系。可以通过相机测量光源的放大倍数,并使用 OpenCV 进行计算机视觉轮廓分析进行处理。该原理应用于使用树莓派零和相机设计的 3D 可打印感应装置。