CrossDark's biology tool
Project description
BiologyTools
提供一些目前只有一个生物信息学工具
叶绿体测速
基于YOLOv8编写的叶绿体胞质环流速率识别程序
使用方法
直接识别单个文件
from BiologyTools import CytoplasmicCirculationSpeedMeasure
CytoplasmicCirculationSpeedMeasure.exec(path='要识别的视频路径', operation={
'预处理': {'间隔': 10}, # 按照设置的间隔缩短视频的帧数
'模型': '/Volumes/home/Project/YoloV8/model/不错.pt', # YOLO模型
'加载': '/Users/crossdark/Downloads/test.txt', # 加载识别好的叶绿体坐标数据
'数据库': { # 将识别到的速率录入数据库
'分段': 1,
'分析间隔': 1,
'表格': 'LightIntensity'
}})
通过yaml
from BiologyTools import CytoplasmicCirculationSpeedMeasure
CytoplasmicCirculationSpeedMeasure.yaml('yaml文件')
文件:
- '/Volumes/home/Experiment/细胞环流/数据/实验数据/光照强度/NO-6/2000lux-6.mp4'
预处理:
间隔: 10
模型: '/Volumes/home/Project/YoloV8/model/不错.pt'
加载: '/Users/crossdark/Downloads/test.txt'
输出:
分段: 1
分析间隔: 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
BiologyTools-0.2.0.tar.gz
(5.7 MB
view hashes)
Built Distribution
Close
Hashes for BiologyTools-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d287c54be15bb92bec80258cc5929a65c2de14b324f79a4305b65403dcde5740 |
|
MD5 | 7519ca98636d9402f90d007f688411e7 |
|
BLAKE2b-256 | 58d4db9bc731a9d0bbee9e663dc7bebc53d05b54123b61e234f750d472ed0bfc |