# Show Image

This function block displays image data in the workspace and provides a quick viewer to inspect images in detail.

## 📥 Inputs <a href="#inputs" id="inputs"></a>

`Image Any` This input socket accepts any image data produced by other function blocks.

## 📤 Outputs <a href="#outputs" id="outputs"></a>

This function block does not provide any output sockets.

## 🕹️ Controls <a href="#controls" id="controls"></a>

`See Image` A button that opens a dedicated image viewer window to inspect the currently displayed image.

`Show Image` The visual area inside the block that previews the latest image received.

## 🎨 Features <a href="#features" id="features"></a>

* Live preview of incoming images, keeping the last valid image visible if a new input is temporarily missing.
* Fast inspection via the `See Image` viewer for zooming, panning, and closer examination.
* Resizable interface so the preview area can be adjusted to fit your layout.

## 📝 Usage Instructions <a href="#usage" id="usage"></a>

1. Connect any image-producing block to the `Image Any` input socket. Common sources include `Camera USB`, `Camera IP (ONVIF)`, `Stream Reader`, or `Load Image`.
2. Watch the preview area update with the latest image.
3. Click the `See Image` button to open the image in a larger viewer window for closer inspection.

## 📊 Evaluation <a href="#evaluation" id="evaluation"></a>

When the workspace runs, this function block shows the most recent image sent to its input. If no image is available, it retains the last shown image to avoid abrupt visual gaps.

## 💡 Tips and Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

* Combine with image sources: connect `Camera USB`, `Camera IP (ONVIF)`, or `Load Image` to quickly preview live feeds or loaded files.
* Pair with preprocessing: place `Image Resize`, `Blur`, or `Denoising` before this block to preview how filtering or resizing affects the final image.
* Use with analysis blocks: feed the output of detectors (for visualization) into this block by connecting their image outputs — useful choices are `Object Detection`, `Mask Detection`, or `Pose Estimation`.
* For multi-image layouts: combine with `Collage Images` or `Image Concatenate` to preview combined results before sending to the viewer.

## 🛠️ Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

* No image appears: ensure the upstream block is producing image data and is connected to the `Image Any` socket.
* Viewer opens but is blank: verify the connected block is actively sending frames (camera blocks often require activation signals).
* Image seems stale: the block keeps the last valid image if a new frame is missing; check the source block (e.g., camera activation or stream stability).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.augelab.com/function-blocks/input-output/outputs-exports/show-image.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
