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.0.7.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for BiologyTools-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09f46870302ca44cc9c2b15b62013c1006e7391d5823a8cbf8f8bd1ae95f2ade |
|
MD5 | 9d9fa4ded079722f371593b3f612b782 |
|
BLAKE2b-256 | b7955cf5ee8ddd0f0fbd529755af7a97838c669dd9ec6be97cd05e2a94d2d63e |