CrossDark's biology tool
Project description
BiologyTools
提供一些目前只有一个生物信息学工具
叶绿体测速
基于YOLOv8编写的叶绿体胞质环流速率识别程序
使用方法
直接识别单个文件
from BiologyTools import CellSpeedMeasure
CellSpeedMeasure.exec(path='要识别的视频路径', operation={
'预处理': {'间隔': 10}, # 按照设置的间隔缩短视频的帧数
'模型': '/Volumes/home/Project/YoloV8/model/不错.pt', # YOLO模型
'加载': '/Users/crossdark/Downloads/test.txt', # 加载识别好的叶绿体坐标数据
'数据库': { # 将识别到的速率录入数据库
'分段': 1,
'分析间隔': 1,
'表格': 'LightIntensity'
}})
通过yaml
from BiologyTools import CellSpeedMeasure
CellSpeedMeasure.yaml('yaml文件')
文件:
- '/Volumes/home/Experiment/细胞环流/数据/实验数据/光照强度/NO-6/2000lux-6.mp4'
预处理:
间隔: 10
模型: '/Volumes/home/Project/YoloV8/model/不错.pt'
加载: '/Users/crossdark/Downloads/test.txt'
数据库:
分段: 1
分析间隔: 1
表格: 'LightIntensity'
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.0.4.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for BiologyTools-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2ccc8d0c8d34f153247551add0c2ee71933176fd09eecb7e2f8b92c51cf40dd |
|
MD5 | 1d1a30d481c56241cc83ccc784fec333 |
|
BLAKE2b-256 | fc4eac3c91695be991c945c9c1cafcd4a1dc5462f020a883a9684910265ea896 |