Skip to content

Commit 352a3fb

Browse files
authored
Merge pull request #16 from andywang0607/load-exist-annotation
[chore] Remove redundant log
2 parents 3677ee9 + 6158074 commit 352a3fb

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

AutoAnnotationTool/annotationmanager.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ QString AnnotationManager::GetSavingPath()
2323
QString imgSrc = labelCollector()->imgSrc();
2424
QFileInfo info(imgSrc);
2525
QString savingPath = info.path() + "/" + info.baseName() + ".json";
26-
qDebug()<< Q_FUNC_INFO << "savingPath"<<savingPath;
2726
return savingPath;
2827
}
2928

@@ -85,7 +84,6 @@ void AnnotationManager::SaveAnnotation(int mode)
8584

8685
// Save bounding box data
8786
int boxNum = labelCollector()->dataVec().size();
88-
qDebug()<< Q_FUNC_INFO << "boxNum"<<boxNum;
8987
QJsonArray shape;
9088

9189
// rectangle data

AutoAnnotationTool/labelcollector.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ CVParam *LabelCollector::cvParam() const
171171

172172
void LabelCollector::setImage(const QImage &image){
173173
if(image.isNull()){
174-
qDebug() << Q_FUNC_INFO << "image is Null";
175174
return;
176175
}
177176
m_image = image;
@@ -198,7 +197,6 @@ void LabelCollector::setImgSrc(QString imgSrc)
198197
if (m_imgSrc == imgSrc)
199198
return;
200199
m_imgSrc = imgSrc;
201-
qDebug() << Q_FUNC_INFO << " m_imgSrc"<<m_imgSrc;
202200
if(m_imgSrc.left(4) == "file"){
203201
#ifdef _WIN32
204202
m_imgSrc = m_imgSrc.remove(0,8);
@@ -449,7 +447,6 @@ void LabelCollector::GetPolygonSelectResult(QPointF currentPos)
449447
polySelectResult.boxIdx = std::distance(m_dataVec.begin(), it);
450448
polySelectResult.polyIdx = std::distance(checkedPoly.begin(), polyIter);
451449
polySelectResult.isSelect = true;
452-
qDebug() << Q_FUNC_INFO << "finish";
453450
return;
454451
}
455452
}

AutoAnnotationTool/labeldatamodel.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ QVariant LabelDataModel::data(const QModelIndex &index, int role) const
2323

2424
switch (role) {
2525
case LabelClass:
26-
qDebug()<< "item.labelClass"<<m_item->dataVec().at(index.row())->labelClass;
2726
return QVariant(m_item->dataVec().at(index.row())->labelClass);
2827
case IsSelect:
29-
qDebug()<< "item.isSelect"<<m_item->dataVec().at(index.row())->isSelect;
3028
return QVariant(m_item->dataVec().at(index.row())->isSelect);
3129
default:
3230
break;

0 commit comments

Comments
 (0)