Skip to content

Camera Focus

Version v1

This block calculate the Brenner function score which is a measure of the texture in the image. An in-focus image has a high Brenner function score, and contains texture at a smaller scale than an out-of-focus image. Conversely, an out-of-focus image has a low Brenner function score, and does not contain small-scale texture.

Type identifier

Use the following identifier in step "type" field: roboflow_core/camera_focus@v1to add the block as as step in your workflow.

Properties

Name Type Description Refs
name str The unique name of this step..

The Refs column marks possibility to parametrise the property with dynamic values available in workflow runtime. See Bindings for more info.

Available Connections

Check what blocks you can connect to Camera Focus in version v1.

The available connections depend on its binding kinds. Check what binding kinds Camera Focus in version v1 has.

Bindings
  • input

    • image (image): The input image for this step..
  • output

    • image (image): Image in workflows.
    • focus_measure (float): Float value.
Example JSON definition of step Camera Focus in version v1
{
    "name": "<your_step_name_here>",
    "type": "roboflow_core/camera_focus@v1",
    "image": "$inputs.image"
}