# Document AI V1 API - Class Google::Cloud::DocumentAI::V1::OcrConfig::PremiumFeatures (v1.12.1)

1.12.1 (latest) 1.12.0 1.11.0 1.10.2 1.9.0 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.23.1 0.22.0 0.21.1 0.20.0 0.19.0 0.18.0 0.17.2 0.16.2 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.4 Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::OcrConfig::PremiumFeatures.

Configurations for premium OCR features.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #compute_style_info

    def compute_style_info() -> ::Boolean

**Returns**

- (::Boolean) --- Turn on font identification model and return font style information.

### #compute_style_info=

    def compute_style_info=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Turn on font identification model and return font style information.
**Returns**

- (::Boolean) --- Turn on font identification model and return font style information.

### #enable_math_ocr

    def enable_math_ocr() -> ::Boolean

**Returns**

- (::Boolean) --- Turn on the model that can extract LaTeX math formulas.

### #enable_math_ocr=

    def enable_math_ocr=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Turn on the model that can extract LaTeX math formulas.
**Returns**

- (::Boolean) --- Turn on the model that can extract LaTeX math formulas.

### #enable_selection_mark_detection

    def enable_selection_mark_detection() -> ::Boolean

**Returns**

- (::Boolean) --- Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.

### #enable_selection_mark_detection=

    def enable_selection_mark_detection=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.
**Returns**

- (::Boolean) --- Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.