Code Monkey home page Code Monkey logo

deeplabel's People

Contributors

jveitchmichaelis avatar lukaswozniak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

deeplabel's Issues

Segmentation Fault when creating new Project on Ubuntu 20.04 OpenCV 4.2.0 QT5

blackberry:~/dev/deeplabel/release$ ./DeepLabel
Database structure looks good
QSqlDatabasePrivate::removeDatabase: connection '/home/jlong/dev/fuzzy/bunny' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name '/home/jlong/dev/fuzzy/bunny', old connection removed.
Database structure looks good
Segmentation fault (core dumped)

bunny.zip

Issue in configure of object detector

Hello @jveitchmichaelis.
So I was trying to run yolov4 pretrained model on some of my images. I ran into an issue.

So I made a new project as instructed. Then upload the image folder. While configuring the object detector with config,weight and names file, the OK (on which we are supposed to click) vanishes. Since I am not able to configure the object detector, I am not able to run inference on my images.

Side note: I had earlier ran a yolov4-custom model on it with successful running. Whenever I try to configure the detector, the addresses of the weight,config and names of that project opens up. Changing the addresses makes the OK dissapear.

I have no clue as to what is happening

Unable to find shared libraries after installing DeepLabel

Hi there
After the build as soo as I tried running it from the terminal with ./DeepLabel.pro, I would get an error
"/DeepLabel.pro: line 7: QT: command not found
./DeepLabel.pro: line 9: syntax error near unexpected token QT_MAJOR_VERSION,' ./DeepLabel.pro: line 9: greaterThan(QT_MAJOR_VERSION, 4): QT += widgets'
"
Also I have already installed QT and is working on Ubuntu20.04. Any help will be appreciated

Darknet import is not working on windows

Hi, I am trying to import coco128 dataset with the annotations.
When I tried importing as darknet: I created a images.txt file containing all the paths to the images relative to the .lbldb. and placed the labels.txt files for each images along the images. But now I got a lot of File not found on disk "".

I am using v 0.15

Thanks

Add support for calling external darknet

As per this issue, it would be nice if we could support Yolov4, but currently we rely on opencv for backend processing. We could, alternatively, ask the user to provide a darknet binary/dll and use that.

This would also open the door for simple integration of training into the deeplabel GUI.

#17

Command line interface

Heya,

LOVE this, good work - quick question can we use this from the command line with the following use case:

We have items such as tin cans on a turntable when our setup has finished taking a video of it we'd like to fire it at our backend services, now we'd like to automatically label it via a bash script. So we'd probably confirm the first frame label and then look to track it across the rest since it's on a turntable it won't move much.

OR

We'd use automatic object detection via our own model in the right format.

Thanks

Marc

Loading tensorflow models crashes program

I tried to load tensorflow model and the program crashed. I used Yolov5 and then converted model into pb format

Checking config file
Checking config file
Added detection class: 0 label-one
Added detection class: 1 label-two
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 0)
fish: “release/deeplabel” terminated by signal SIGABRT (Abort)

image

"Jump to image" button need repaint ImageDisplay on OS X

截屏2020-06-06 下午4 16 19

update the number and click the button nothing happen , but if I switch to other window like chrome it display well.
I think should repaint or update , i add repaint() add at the end of function void ImageDisplay::updateDisplay() it work .

it's too simple to fix , i didn't make a PR.

Use yolov4 train - it shows Wrong annotation

Sir,

System: darknet, yolov4

Concrening with the darknet labels export, I set the Names.file as obj.names and export labels. I used the exported labels files for the yolov4 training, after loaded the model, it show error as below.

[yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.05
nms_kind: greedynms (1), beta = 0.600000
Total BFLOPS 59.636
avg_outputs = 491093
Allocate additional workspace_size = 52.43 MB
Loading weights from /home/brian/yolo/layout/yolov4.conv.137...
seen 64, trained: 0 K-images (0 Kilo-batches_64)
Done! Loaded 137 layers from weights-file
Learning Rate: 0.001, Momentum: 0.949, Decay: 0.0005
If error occurs - run training with flag: -dont_show
Resizing, random_coef = 1.40

608 x 608
Create 6 permanent cpu-threads

Wrong annotation: x = 0, y = 0, < 0 or > 1, file: /home/brian/yolo/layout/output/train/1.txt
.
.
.
Wrong annotation: x = 0, y = 0, < 0 or > 1, file: /home/brian/yolo/layout/output/train/2.txt

Wrong annotation: x = 0, y = 0, < 0 or > 1, file: /home/brian/yolo/layout/output/train/3.txt

Wrong annotation: x = 0, y = 0, < 0 or > 1, file: /home/brian/yolo/layout/output/train/4.txt

Wrong annotation: x = 0, y = 0, < 0 or > 1, file: /home/brian/yolo/layout/output/train/5.txt

Wrong annotation: x = 0, y = 0, < 0 or > 1, file: /home/brian/yolo/layout/output/train/6.txt

So I stopped the training. why the annotation are wrong?

Bug in importing annotations

After clicking "Import Labels" with configuration:
image

Loading of images starts:
image

But after it is finished I get following error:
image

Please help

Error error: no member named 'clamp' in namespace 'std'

Heya I'm trying to compile for MacOS I'm getting...

marcfielding@MacBook-Pro deeplabel % make -j4
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.12 -O2 -std=gnu++1y  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/marcfielding/deeplabel"' -I. -I/usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -I/usr/local/Cellar/qt/5.15.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtTest.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtConcurrent.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtCore.framework/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/usr/local/Cellar/qt/5.15.0/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.15.0/lib -o .obj/darknetexporter.o src/darknetexporter.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.12 -O2 -std=gnu++1y  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/marcfielding/deeplabel"' -I. -I/usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -I/usr/local/Cellar/qt/5.15.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtTest.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtConcurrent.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtCore.framework/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/usr/local/Cellar/qt/5.15.0/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.15.0/lib -o .obj/baseimporter.o src/baseimporter.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.12 -O2 -std=gnu++1y  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/marcfielding/deeplabel"' -I. -I/usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -I/usr/local/Cellar/qt/5.15.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtTest.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtConcurrent.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtCore.framework/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/usr/local/Cellar/qt/5.15.0/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.15.0/lib -o .obj/cocoexporter.o src/cocoexporter.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.12 -O2 -std=gnu++1y  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/marcfielding/deeplabel"' -I. -I/usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -I/usr/local/Cellar/qt/5.15.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtTest.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtConcurrent.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtCore.framework/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/usr/local/Cellar/qt/5.15.0/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.15.0/lib -o .obj/darknetimporter.o src/darknetimporter.cpp
src/darknetexporter.cpp:51:29: error: no member named 'clamp' in namespace 'std'
            double x = std::clamp(static_cast<double>(label.rect.center().x())/image.cols, 0, 0.999);
                       ~~~~~^
src/darknetexporter.cpp:52:29: error: no member named 'clamp' in namespace 'std'
            double y = std::clamp(static_cast<double>(label.rect.center().y())/image.rows, 0, 0.999);
                       ~~~~~^
src/darknetexporter.cpp:53:33: error: no member named 'clamp' in namespace 'std'
            double width = std::clamp(static_cast<double>(label.rect.width())/image.cols, 0, 0.999);
                           ~~~~~^
src/darknetexporter.cpp:54:34: error: no member named 'clamp' in namespace 'std'
            double height = std::clamp(static_cast<double>(label.rect.height())/image.rows, 0, 0.999);
                            ~~~~~^
4 errors generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.12 -O2 -std=gnu++1y  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/marcfielding/deeplabel"' -I. -I/usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -I/usr/local/Cellar/qt/5.15.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtSql.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtTest.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtConcurrent.framework/Headers -I/usr/local/Cellar/qt/5.15.0/lib/QtCore.framework/Headers -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/usr/local/Cellar/qt/5.15.0/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.15.0/lib -o .obj/gcpexporter.o src/gcpexporter.cpp
make: *** [.obj/darknetexporter.o] Error 1
make: *** Waiting for unfinished jobs....

Resize/move existing/detected annotations

Is there any way to more/resize annotation?
Currently the only way I found working is to remove annotation and add it again with corrected position and size.
After running detector I find that many annotations are slightly inaccurate, and having easy way of correcting them would be a life saver.

COCO Python API is expecting different labels

Hi @jveitchmichaelis thanks for your great work!

I gave the experimental COCO export functionality a try and found that the COCO Python API is expecting high-level labels to be defined as images and annotations. Otherwise image ids are not loaded by the API.

So I suggest changing

label_file["image"] = image_array;
label_file["annotation"] = annotations_array;

to

label_file["images"] = image_array; 
label_file["annotations"] = annotations_array; 

Yolov4-tiny-3l model doesn't work

After I configure object detector and run it on any image it doesn't show any new annotations.

I tried "Set threshold" to 0,01 but it didn't change anything. Setting it to CPU also doesn't help.

My configuration:

image

After pressing the magic wand button (no new annotation added):

image

Proof that my model is able to detect the object:

image

Is there anything I can do to debug this more? Please help

Allow different bounding box colours

Sir,

Thank you for your previous answer. I can start to use the deeplabel to speed up my project. But the new question is appear as captioned.

I believe adding a function for user to select bounding box color sounds good. 2 bounding box colors can solve it - black or white. :)

Allow users to set class name-ID mapping during export

This affects the COCO and Pascal VOC exporters. Currently the output class ID is dependent on the order in which they were created in deeplabel. It may be preferable to, in some cases, force this to something else, for example provide a pbtxt file like https://github.com/tensorflow/models/blob/master/research/object_detection/data/mscoco_label_map.pbtxt

The darknet exporter does not have this problem as it uses a .names file to control this. GCP is also not affected as it uses class names directly.

Should probably allow minimally:

  • .names files, class name separated by newline
  • .pbtxt files

and infer based on extension.

Add ability to change database root folder

If the database file is moved, the internal (relative) image paths will be incorrect. We should have the ability to update the location of the database relative to the images.

Possibly a method to do this would be to ask the user to locate a single asset (e.g. an image) and use that to infer what changes should be made to the rest of the paths in the database.

DeepLabel Tool not able to output labels

I have series of images which I labeled using the deep label tool. I exported the labels and stored it in a directory. I observe two issues:

  1. If the directory to store the images is not present, the tool creates a new directory within the desired directory.
    Eg: Folder Name: YOLO_Train
    Output - YOLO_Train -> YOLO_Train -> (train ,val ). Both the folders are empty
  2. If the directory is present, the tool is able to store all the images in the directory with the label files but the label files are empty. There are no bounding box coordinates

Please let me know if there is a specific procedure to follow to export labels. I feel that tool is able to record the bounding boxes but not output the coordinates into the file.

how to use

I use Mac and I don't know how to label on image

截屏2020-06-04 上午11 49 43

Propogate Tracking Feature seg faults

I am currently labeling few images to retrain YOLO. I want to make use of the tracking feature. Here are the steps that I followed

  1. Label first image with a class and init tracking
  2. Check options "Propagate label to next image" ,"refine boxes after tracking" and try to propagate tracking.

Observed Behaviour
App closes Due to segmentation faults

Console output: Segmentation fault (core dumped)

There are no other debug messages that are printed

Make error

make -j4
g++ -c -pipe -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/user/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/main.o src/main.cpp
g++ -c -pipe -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/user/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/mainwindow.o src/mainwindow.cpp
g++ -c -pipe -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/user/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/gcpexporter.o src/gcpexporter.cpp
g++ -c -pipe -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/user/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/imagedisplay.o src/imagedisplay.cpp
In file included from src/imagedisplay.cpp:1:
src/imagedisplay.h:49:26: error: ‘COLORMAP_MAGMA’ is not a member of ‘cv’; did you mean ‘COLORMAP_PARULA’?
49 | int colour_map = cv::COLORMAP_MAGMA;
| ^~~~~~~~~~~~~~
| COLORMAP_PARULA
src/imagedisplay.cpp:5:22: error: ‘COLORMAP_CIVIDIS’ is not a member of ‘cv’; did you mean ‘COLORMAP_PINK’?
5 | { "Cividis", cv::COLORMAP_CIVIDIS },
| ^~~~~~~~~~~~~~~~
| COLORMAP_PINK
src/imagedisplay.cpp:6:22: error: ‘COLORMAP_INFERNO’ is not a member of ‘cv’; did you mean ‘COLORMAP_WINTER’?
6 | { "Inferno", cv::COLORMAP_INFERNO },
| ^~~~~~~~~~~~~~~~
| COLORMAP_WINTER
src/imagedisplay.cpp:7:20: error: ‘COLORMAP_MAGMA’ is not a member of ‘cv’; did you mean ‘COLORMAP_PARULA’?
7 | { "Magma", cv::COLORMAP_MAGMA },
| ^~~~~~~~~~~~~~
| COLORMAP_PARULA
src/imagedisplay.cpp:10:21: error: ‘COLORMAP_PLASMA’ is not a member of ‘cv’; did you mean ‘COLORMAP_PARULA’?
10 | { "Plasma", cv::COLORMAP_PLASMA },
| ^~~~~~~~~~~~~~~
| COLORMAP_PARULA
src/imagedisplay.cpp:14:22: error: ‘COLORMAP_VIRIDIS’ is not a member of ‘cv’; did you mean ‘COLORMAP_SPRING’?
14 | { "Viridis", cv::COLORMAP_VIRIDIS }
| ^~~~~~~~~~~~~~~~
| COLORMAP_SPRING
src/imagedisplay.cpp:15:1: error: no matching function for call to ‘std::unordered_map<std::__cxx11::basic_string, int>::unordered_map()’

Bug in image loading

I run into a weird problem that. If my images are lets say on my X SSD and DeepLabel on my Y SSD it will throw an error that images couldn't be loaded. If its on the same Hard drive it works just fine.

Linux builds are all expired

I looked at the releases and only windows and mac versions are still there. The linux builds are all "expired" (no longer available for download). The build process under Ubuntu is a little convoluted, so a release would be handy. Any plans for keeping those releases or cleaning up the build?

cocoimporter breaks build on windows and linux

the square brackets in cocoimporter.cpp are breaking the build on windows and linux.

On linux I was able to checkout the previous commit and get everything working. On windows I am still having issues with OpenCV. (I think that has more to do with me vs windows than anything else.)

I also hit issues with QtAwesome during both builds, and had to download it from a different repository (https://github.com/gamecreature/QtAwesome). Unless I'm doing something wrong there too, you might want to list it as a dependency in your installation instructions.

P.S. excellent tool by the way!

export limit is 999 and cannot delete imported picture

I would like to export 1200 nos darknet labels but it can only export up to nos 999. <- it solved after I clicked random export.

After that I want to delete pictures I did not labelled but no button for this function.

Export on ubuntu does not export - unable to open image

Deeplabel reports errors when exporting files on ubuntu 20.04

My source folder with images: /home/vlad/Pictures/Cleaned/zluty/
DB file at: /home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb

Failed top open image "/home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb/../IMG_20220223_114543.jpg"
Failed top open image "/home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb/../IMG_20220223_114949.jpg"
Failed top open image "/home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb/../IMG_20220223_112833.jpg"
Failed top open image "/home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb/../IMG_20220223_113744.jpg"
Failed top open image "/home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb/../IMG_20220223_112706.jpg"
Failed top open image "/home/vlad/Pictures/Cleaned/zluty/deeplabel-db.lbldb/../IMG_20220223_112823.jpg"

Saving project does not automatically append extension

System: Ubuntu 18.04, qt5, sqlite3

Sir,
Thank you for your answer yesterday. May you please help to solve/answer the aformentioned question? I cannot find the database save file on the qt5 load-file window.

Please find the below picture for your reference. (qt5 window show nothing but my ubuntu window show the file I saved.)
photo link

Thank you.

Compiling fails with missing port_def.inc on ubuntu

I tried to compile deeplabel and it fails with missing include file. Is there any particular protobuf dev version needed?

:/tmp/deeplabel$ sudo apt install git build-essential qt5-default libprotobuf-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libprotobuf-dev is already the newest version (3.6.1.3-2ubuntu5).
build-essential is already the newest version (12.8ubuntu1.1).
git is already the newest version (1:2.25.1-1ubuntu3.2).
qt5-default is already the newest version (5.12.8+dfsg-0ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.


:/tmp/deeplabel$ make -j4
g++ -c -pipe -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/main.o src/main.cpp
g++ -c -pipe -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/mainwindow.o src/mainwindow.cpp
g++ -c -pipe -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/exportdialog.o src/exportdialog.cpp
g++ -c -pipe -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/deeplabel"' -I. -isystem /usr/local/include/opencv4 -Isrc -IQtAwesome/QtAwesome -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/multitracker.o src/multitracker.cpp
In file included from src/tfrecordexporter.h:6,
                 from src/exporter.h:9,
                 from src/mainwindow.h:19,
                 from src/mainwindow.cpp:1:
src/proto/example.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
   10 | #include <google/protobuf/port_def.inc>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/tfrecordexporter.h:6,
                 from src/exporter.h:9,
                 from src/mainwindow.h:19,
                 from src/main.cpp:1:
src/proto/example.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
   10 | #include <google/protobuf/port_def.inc>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:844: .obj/mainwindow.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:807: .obj/main.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.