
## defects {#defects}

They will determine what types of defects need to be recognized at the moment. use case 1: defect_type = defect_type::ASPOSE_OCR_DETECT_DARK_IMAGES | defect_type::ASPOSE_OCR_DETECT_SALT_PEPPER_NOISE; use case 2: defect_type = defect_type::ASPOSE_OCR_DETECT_ALL;.

**Returns:** unsigned int

```cpp
ASPOSE_OCR_NONE()
```

