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.2.tar.gz
(11.3 MB
view hashes)
Built Distribution
Close
Hashes for BiologyTools-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8286e6d3ba0f002b4cad216d892cf4cc53a41800d0b474cb85b5ce8f13068ac |
|
MD5 | f6f61eb6a6979fa39a4cc569f20d7157 |
|
BLAKE2b-256 | fc62e1fa6d45bc0983ea5c1732f6dbd75a49bbc6341412b1c41af994852967c4 |