# DetectedQuadResultItem Class

The `DetectedQuadResultItem` class stores a captured result whose type is detected quad.

## Definition

*Package:* com.dynamsoft.ddn

```java
public class DetectedQuadResultItem extends CapturedResultItem
```

*Inheritance:* [CapturedResultItem](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/basic-classes/captured-result-item.md) -> DetectedQuadResultItem

## Methods

| Method | Description |
|--------|-------------|
| [`getLocation`](#getlocation) | Gets the location of current object. |
| [`getConfidenceAsDocumentBoundary`](#getconfidenceasdocumentboundary) | Gets the confidence of current object as a document boundary. |
| [`getCrossVerificationStatus`](#getcrossverificationstatus) | Gets the status of current object as a verified document boundary. |

### getLocation

Gets the location of current object.

```java
public Quadrilateral getLocation()
```

**Return Value**

The location of current object.

**See Also**

[Quadrilateral](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/basic-classes/quadrilateral.md)

### getConfidenceAsDocumentBoundary

Gets the confidence of current object as a document boundary.

```java
public int getConfidenceAsDocumentBoundary()
```

**Return Value**

The confidence as document boundary of the detected quad result.

### getCrossVerificationStatus

Gets the status of current object as a verified document boundary.

```java
public @EnumCrossVerificationStatus int getCrossVerificationStatus()
```

**Return Value**

The status of current object as a verified document boundary.

**See Also**

[EnumCrossVerificationStatus](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/enum-cross-verification-status.md)

