Image Analyzer Pack
★Trustedv1.0.0MIT✔Verified88by AgentNode · published 22 days ago · toolpack
Analyze and describe images using vision models.
Extract objects, text, colors, and scene descriptions from images.
Quick Start
agentnode install image-analyzer-packUsage
From packagefrom image_analyzer_pack.tool import run
result = run(
action="analyze_image",
image_path="/data/products/leather_backpack_front.jpg",
analysis_type="describe",
context="e-commerce product listing",
output_fields=["description", "alt_text", "tags", "dominant_colors"]
)
print(f"Description: {result['description']}")
print(f"Alt text: {result['alt_text']}")
print(f"Tags: {', '.join(result['tags'])}")
print(f"Dominant colors: {result['dominant_colors']}")Environment Variables
OPENAI_API_KEYOpenAI API key with access to GPT-4 Vision for image analysis
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 18d ago· Runner v2.0.0
Use this when you need to...
- ›Describe product images for e-commerce alt text generation
- ›Extract text and data from photographs of whiteboards
- ›Identify objects and count items in warehouse inventory photos
- ›Analyze UI screenshots for accessibility compliance issues
- ›Classify and tag uploaded images for content moderation
README
Image Analyzer Pack
Analyze and describe images using vision models. Generate descriptions, extract text, identify objects, and classify visual content.
Quick Start
agentnode install image-analyzer-pack
from image_analyzer_pack.tool import run
result = run(
action="analyze_image",
image_path="/data/photo.jpg",
analysis_type="describe"
)
print(result["description"])
Usage
Generate Alt Text
result = run(
action="analyze_image",
image_path="/data/hero_banner.png",
analysis_type="describe",
context="website hero image",
output_fields=["alt_text", "description"]
)
print(f"Alt: {result['alt_text']}")
Extract Text (OCR)
result = run(
action="analyze_image",
image_path="/data/receipt.jpg",
analysis_type="extract_text",
enhance=True
)
for block in result["text_blocks"]:
print(block["text"])
Object Detection
result = run(
action="analyze_image",
image_path="/data/warehouse_shelf.jpg",
analysis_type="detect_objects"
)
for obj in result["objects"]:
print(f"{obj['label']}: {obj['count']} ({obj['confidence']:.0%})")
API Reference
| Capability | Description |
|---|---|
analyze_image | Vision-powered image analysis, OCR, and classification |
Analysis types: describe, extract_text, detect_objects, classify, compare
Inputs: PNG, JPG, WebP, GIF (first frame)
Requirements
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | Yes | OpenAI API key for GPT-4 Vision model access |
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install image-analyzer-packEnvironment Variables
OPENAI_API_KEYrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode