Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Common Process InputsCombine ArraysFilter Array OutputGet Array ItemGet Array Object ItemGet Last Run ArrayGet Object ItemJSON String to ObjectBasic MathsGet Last Run Upstream OutputsMoving Number CalculationNumber RoundingNumber to StringBased64 string to ImageString to NumberTemplate StringISO Time DeltaXML String to ObjectAuto Label Object DetectionBrightnessCircle Detection1D/2D Code ReaderColor DetectionColor ThresholdContrastMultiple CropsCropDetected Zones CountersFacial Expression DetectionGender and Age DetectionDetected Objects to OCRDetected Objects TransformPeople DetectionDraw Detected ObjectsFace DetectionFace RecognitionFeature MatchingFire & Smoke DetectionFlipGeneral Object DetectionImage ClassificationImage SimilarityKey Points DetectionNumber Plate ReaderObject DetectionOCRPose EstimationResizeRotateSaturationInstance SegmentationWatershed SegmentPolygon DetectionTracker Line CountTracker Zones CountTracker HeatmapTrackerWhite Balance
Widgets

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesProcess

Crop

Slot Usage: 0

Overview

Crop node extracts a region of interest from the input frame using either a rectangular crop or a perspective-corrected crop.

Use this node to focus downstream processing on a specific area of the frame and reduce unnecessary computation, or to de-skew a region (for example a tilted document or angled label) into a flat rectangular output.

Input

Input Image

image required

The image frame to crop. Connect this to a camera or upstream processing output.

Crop Type

string

Determines which crop mode and input fields are used.

Values:

  • cropBox (default) — rectangular crop defined by Crop Box.
  • cropPerspective — perspective-corrected crop defined by Crop Perspective.

Crop Box

object

Used when Crop Type is cropBox. Defines the rectangular region to extract.

Fields (all in image pixel coordinates):

  • x — left edge of the crop region.
  • y — top edge of the crop region.
  • width — width of the crop region.
  • height — height of the crop region.

Crop Perspective

array

Used when Crop Type is cropPerspective. Defines the four corners of a quadrilateral in the source image that will be warped into a flat rectangle in the output.

Four points in image pixel coordinates, in order: top-left, top-right, bottom-right, bottom-left. Each point is [x, y].

Output

Output Image

image

Cropped (and optionally de-skewed) image.

Multiple Crops

Previous Page

Detected Zones Counters

Next Page

On this page

OverviewInputInput ImageCrop TypeCrop BoxCrop PerspectiveOutputOutput Image