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{
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};
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:01 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.