> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Start Method of the BatchProcessor Object

<Note>
  This method is implemented in FRE for Linux and Windows.
</Note>

This method prepares the Batch Processor for work. The method invokes asynchronous recognition processes, specifies the source of images and processing settings.

<Note>
  The [BatchProcessor](/fine-reader/engine/api-reference/batch-processor/batchprocessor) object cannot be reused. Repeated calls to the Start method will cause errors.
</Note>

## Syntax

### C++

```cpp theme={null}
HRESULT Start(
  IImageSource*             ImageSource,
  IAsyncProcessingCallback* ProcessingCallback,
  IPrepareImageMode*        OpeningParams,
  IPageProcessingParams*    ProcessingParams
);
```

### C\#

```csharp theme={null}
void Start(
  IImageSource             ImageSource,
  IAsyncProcessingCallback ProcessingCallback,
  IPrepareImageMode         OpeningParams,
  IPageProcessingParams     ProcessingParams
);
```

### Visual Basic .NET

```vb theme={null}
Sub Start( _
  ImageSource As IImageSource, _
  [ProcessingCallback As IAsyncProcessingCallback = Nothing], _
  [OpeningParams As IPrepareImageMode = Nothing], _
  [ProcessingParams As IPageProcessingParams = Nothing] _
)
```

## Parameters

ImageSource

\[in] Specifies the image source which should be used with the processor. The variable refers to the object which implements the [IImageSource](/fine-reader/engine/api-reference/batch-processor/iimagesource) interface.

ProcessingCallback

\[in] Refers to the [IAsyncProcessingCallback](/fine-reader/engine/api-reference/batch-processor/iasyncprocessingcallback) interface of the user-implemented object which is used to manage processing. This parameter may be 0.

<Note>
  The callback will be used only with image files. If you add the images via the [IImageSource::GetNextImageDocument](/fine-reader/engine/api-reference/batch-processor/iimagesource/getnextimagedocument-method) method, you will not be able to manage the work of the [BatchProcessor](/fine-reader/engine/api-reference/batch-processor/batchprocessor) object with this interface.
</Note>

OpeningParams

\[in] Refers to the [PrepareImageMode](/fine-reader/engine/api-reference/image-related-objects/prepareimagemode) object which specifies how an image will be preprocessed during opening. This parameter may be 0. In this case, image preprocessing is performed with default parameters, or, if a [profile](/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles) has been loaded, the parameters set by this profile are used.

ProcessingParams

\[in] Refers to the [PageProcessingParams](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/pageprocessingparams) object that stores parameters of analysis, recognition, and page synthesis. This parameter may be 0. In this case, the page is analyzed and recognized with default parameters, or, if a [profile](/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles) has been loaded, the parameters set by this profile are used.

<Note>
  If you work with ImageDocument these parameters will be reset to default.
</Note>

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## Remarks

For Linux: This method does not work if the Engine object is loaded as an out-of-process server.

## See also

[BatchProcessor](/fine-reader/engine/api-reference/batch-processor/batchprocessor)
