extract_features
Extract numerical feature vectors from images for custom ML pipelines or database indexing. Supports color, texture, shape, and layout features.
Instructions
Extract raw feature vectors from an image.
Returns numerical vectors for custom ML pipelines, database indexing, or advanced analysis.
Args: image_path: Path to the image features: Comma-separated feature names. Available (22 total): Color: ColorHistogram, ColorMoments, OpponentHistogram, FuzzyColorHistogram, DominantColors, ScalableColor Texture: LocalBinaryPatterns, RotationInvariantLBP, Gabor, Tamura, Haralick, Centrist Shape: EdgeHistogram, PHOG, HOG, HuMoments Layout: ColorLayout, LuminanceLayout Combined: CEDD, FCTH, JCD, AutoColorCorrelogram
Returns: JSON with feature vectors and statistics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_path": "<image_path>"
},
"name": "extract_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | ||
| features | No | CEDD,ColorHistogram |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |