MauiKit Image Tools

textscanner.h
1#pragma once
2
3#include <QObject>
4#include "imagetools_export.h"
5
6class OCS;
7
8/**
9 * @brief Text scanner in images.
10 */
11class IMAGETOOLS_EXPORT TextScanner : public QObject
12{
13 Q_OBJECT
14public:
15 explicit TextScanner(QObject *parent = nullptr);
16 void setUrl(const QString &url);
17 bool containsText(const QString &query);
18 QString getText();
19private:
20 OCS *m_ocr;
21
22 QString m_url;
23};
Text scanner in images.
Definition textscanner.h:12
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:53:30 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.