This release is a pre-release and may not be stable for production use.
Count Anywhere
A tool for counting anything easily.
一个让计数更轻松的工具。
View documentation at count-anywhere.readthedocs.io.
Quick Start 快速开始
Start 启动
# Installation
python -m pip install count-anywhere
python -m count-anywhere
# Boot
count_anywhere
基础操作
程序启动后会挂在系统托盘里。
Congiurations 配置
Configuration file is config.yml.
配置文件是 config.yml。
Enable Debug Mode 启用调试模式
debug: true
What will happen:
- After taking a screenshot, the marker editor will not stay on top.
会发生什么:
- 在截屏后,标记编辑器不会置顶。
Feature 功能
- 手动放置、修改标记。
- 引入其他算法自动放置标记。
- 统计标记数量。
- 导出计数结果
About 关于
Why Count Anywhere is here? 为什么 Count Anywhere 出现在这?
市面上其实有很多有用的自动细胞计数工具,包括作为软件的 cellpose 和作为一体化硬件的某品牌细胞计数机。 不可否认,这些工具很好用,但是无论是哪一种方法都存在一些不足或者说是制约因素:
| 名称 | 类别 | 价格 | 样本 | 效率 | 准确度 |
| 流式细胞仪 | 仪器 | 昂贵 | 细胞悬液 | 较慢* | 近似 |
| 细胞计数机 | 软件(传统算法) | 一般 | 显微图像/细胞玻片 | 快速 | (传统算法可能无法应对复杂的情况) |
| ImageJ 或 Fiji | 软件(传统算法) | 免费 | 显微图像 | 一般** | (传统算法可能无法应对复杂的情况) |
| 神经网络模型(如 Cellpose/SAM) | 软件(神经网络) | 需要一定的算力资源;低计算资源可能也行,但需要较长的时间 | 显微图像 | 快速 | 良好(小概率产生幻觉(错误)) |
| 手动计数 | 人工 | 低廉/免费 | 显微图像 | 缓慢 | 还行(易被干扰,但可以通过校验提高准确度) |
* 毕竟流式细胞仪不是专门用来计数的,效率在这不适合比较。
** 其实际效率取决于选取的插件与设计的处理流程。
因此,我认为需要一种结合了传统方法与现代工具的工作流以及一个配套软件——Cellpose:
- (算力允许的情况下)(可选地)使用传统算法或神经网络模型来进行初步的自动标记。
- 人工放置、修正、移除标记。
- 导出统计数据。
(不太会Java,所以不是很想写一个ImageJ插件。同时,我想随便整个玩具项目试试😋)
Metadata
Release files for count-anywhere 0.1.0a9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| count_anywhere-0.1.0a9.tar.gz | 46.8 kB | With provenance | Details for count_anywhere-0.1.0a9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| count_anywhere-0.1.0a9-py3-none-any.whl | Python 3 | none | any | Details for count_anywhere-0.1.0a9-py3-none-any.whl |
Total release size: 103.0 kB
Release files / count_anywhere-0.1.0a9.tar.gz
| Download URL | count_anywhere-0.1.0a9.tar.gz |
|---|---|
| Size | 46.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0646dea400eb5b2dc2a6266555a7d2c963fec09db5879ccbf6a80e7e309d3e2
|
|
BLAKE2b-256 checksum How to use checksums |
de266031066412b3ee470e7241848113d7ff2e7d5911ac553ab5523d1446f630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / count_anywhere-0.1.0a9-py3-none-any.whl
| Download URL | count_anywhere-0.1.0a9-py3-none-any.whl |
|---|---|
| Size | 56.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
940758d04c0681b88c7f8cd3a0d671ba64ea13e17b1eb1cb5c143704d3c29b94
|
|
BLAKE2b-256 checksum How to use checksums |
2527d24959ebb9b2d824b657c0bd5b19c6f4820903e7227163db38b09ad63d32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logSecurity for count-anywhere 0.1.0a9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for count_anywhere-0.1.0a9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.