Image Analyzer Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Analyze and describe images using vision models.

Extract objects, text, colors, and scene descriptions from images.

langchaincrewaigeneric

Quick Start

bash
agentnode install image-analyzer-pack

Usage

From package
python
from 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_KEY

OpenAI API key with access to GPT-4 Vision for image analysis

required

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 2.5s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install2.5s
import308ms
smoke449ms
tests1.5s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

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

CapabilityDescription
analyze_imageVision-powered image analysis, OCR, and classification

Analysis types: describe, extract_text, detect_objects, classify, compare

Inputs: PNG, JPG, WebP, GIF (first frame)

Requirements

VariableRequiredDescription
OPENAI_API_KEYYesOpenAI API key for GPT-4 Vision model access

License

MIT

Version History

Capabilities

image_analysisanalyze_imagetool

Permissions

This package declares the following access levels. Review before installing.

Networkrestricted
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever
bash
agentnode install image-analyzer-pack

Environment Variables

OPENAI_API_KEYrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointimage_analyzer_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode