pycocoevalcap
MS-COCO Caption Evaluation for Python 3
Decision gist · record as of 2026-08-14
Yes, if you are evaluating captions on the MS COCO dataset or need the specific metrics this package provides. The low install friction, stable API, and absence of known vulnerabilities make it reliable for established evaluation workflows. However, verify the license terms first, and be aware that the package is dormant—no updates are expected, and you should confirm that all five metrics work correctly in your environment, particularly SPICE's Java and CoreNLP dependencies.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Java 1.8.0 is required; SPICE metric will automatically download Stanford CoreNLP 3.6.0 on first use.
- Low install friction with a single runtime dependency (pycocotools).
- The package is dormant—last release was 2020-11-18 and no updates since, though the repository remains active with recent commits (2024-08-01).
License · maintenance · safety
(unclear) — License status is unclear; no SPDX identifier or raw license text is provided. Verify the actual license terms in the repository before using in proprietary or restricted contexts.
last release 2020-11-18 (2095 days) · last repo commit 2024-08-01 · 344 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,013,087 downloads/mo, #4,509 on PyPI
Alternatives
Verify before relying
pip install pycocoevalcap
from pycocoevalcap.eval import COCOEvalCap
coco_eval = COCOEvalCap(coco, coco_result)
coco_eval.evaluate()- Whether the package's license is compatible with your intended use (license treatment is unclear).
- Current state of SPICE's Stanford CoreNLP download and cache behavior in modern environments.
- Whether all five metrics (BLEU, METEOR, ROUGE-L, CIDEr, SPICE) are equally maintained and reliable.
What it is and what it does
Pycocoevalcap is a Python 3 port of the original MS COCO caption evaluation toolkit, providing five automatic metrics for assessing the quality of machine-generated image captions. It wraps evaluation algorithms (BLEU, METEOR, ROUGE-L, CIDEr, and SPICE) that compare generated captions to reference captions, producing scores that measure different aspects of caption quality—fluency, semantic similarity, and semantic propositional content.
The package depends on pycocotools for the COCO API and requires Java 1.8.0 for some components. SPICE evaluation automatically downloads Stanford CoreNLP on first use and caches parsed sentences to speed up repeated evaluations. The package is stable but dormant; it has not been updated since its initial release in November 2020, though the repository remains accessible and the underlying evaluation metrics are well-established in the computer vision and NLP research communities.
Use it for
- Benchmark image captioning models against MS COCO dataset using standardized evaluation metrics.
- Compare multiple caption generation systems with consistent, reproducible scores.
- Validate caption quality during model development and hyperparameter tuning.
- Generate evaluation reports for research papers using established COCO evaluation protocols.
- Integrate caption evaluation into automated testing pipelines for vision-language models.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are evaluating captions on the MS COCO dataset or need the specific metrics this package provides.
The low install friction, stable API, and absence of known vulnerabilities make it reliable for established evaluation workflows. However, verify the license terms first, and be aware that the package is dormant—no updates are expected, and you should confirm that all five metrics work correctly in your environment, particularly SPICE's Java and CoreNLP dependencies.
Install
pycocoevalcap on PyPI
Before you install
Low install friction with a single runtime dependency (pycocotools). The package is dormant—last release was 2020-11-18 and no updates since, though the repository remains active with recent commits (2024-08-01). Suitable for stable evaluation workflows but not for ongoing feature development.
Java 1.8.0 is required; SPICE metric will automatically download Stanford CoreNLP 3.6.0 on first use.
License in practice
License status is unclear; no SPDX identifier or raw license text is provided. Verify the actual license terms in the repository before using in proprietary or restricted contexts.
Quickstart
pip install pycocoevalcap
from pycocoevalcap.eval import COCOEvalCap
coco_eval = COCOEvalCap(coco, coco_result)
coco_eval.evaluate()
Verify before relying
- Whether the package's license is compatible with your intended use (license treatment is unclear).
- Current state of SPICE's Stanford CoreNLP download and cache behavior in modern environments.
- Whether all five metrics (BLEU, METEOR, ROUGE-L, CIDEr, SPICE) are equally maintained and reliable.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepycocotools |
| Maintenance | Dormant 2,095 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,013,087 / month, #4,509 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pycocoevalcap-1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “caption evaluation metrics”
- pycocoevalcapEvaluates image captions using multiple automatic metrics (BLEU,…
- webvtt-pyReads, writes, and segments WebVTT caption files; converts captions…
- google-metraxMetrax provides standard evaluation metrics for machine learning…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also pycocotools · rouge-chinese · faster-coco-eval · rouge-metric · clip-benchmark · rouge · rouge-score · sacrebleu · rf100vl · country-converter