Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cloud_labeler.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class CloudAutoLabeler : public QObject
void labelImages(const QStringList &imagePaths); // batch (all images)
void cancel();

// Utilities used by MainWindow
static QString mimeForImage(const QString &path);
static void backupLabelFile(const QString &labelPath);

signals:
// Emitted when a label file has been written for one image.
void labelReady(const QString &imagePath, int nDetections, int computeMs);
Expand Down Expand Up @@ -69,8 +73,6 @@ class CloudAutoLabeler : public QObject
void processNextInQueue();
void handleFatalError(const QString &message);

static QString mimeForImage(const QString &path);
static void backupLabelFile(const QString &labelPath);
static QString labelPathFor(const QString &imagePath);
static QString filterValidDetections(const QString &yoloTxt, int numClasses);
static QString remapWithClassNames(const QString &yoloTxt,
Expand Down
Loading