# recognize_on_worker

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-qr-apple/function-recognize_on_worker/

**function** · [`ferroui-media-qr-apple`](/docs/0.5.0/api/ferroui-media-qr-apple/) · v0.5.0

```rust
fn recognize_on_worker(analysis: &QrAnalysis) -> Result<Vec<QrCandidate>, QrError>
```

Runs only on an analysis worker, never on the UI/render thread. The token
retains source storage and the gate's slot until native recognition finishes.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr.Apple/lib.rs#L24)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
