xingangpan / seg_label_generate Goto Github PK
View Code? Open in Web Editor NEWProcessing annotations for CULane dataset.
Processing annotations for CULane dataset.
when I remove '-s' in labelGen.sh, it's ok . but when I add '-s', it is wrong . could please tell me why ?
`OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp, line 3492
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp:3492: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
Aborted (core dumped)
`
After running make
I get the following error:
CXX src/main.cpp
CXX/LD seg_label_generate
/usr/bin/ld: build/src/seg_label_generator.o: undefined reference to symbol '_ZN2cv7imwriteERKNS_6StringERKNS_11_InputArrayERKSt6vectorIiSaIiEE'
//usr/local/lib/libopencv_imgcodecs.so.3.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:39: recipe for target 'seg_label_generate' failed
make: *** [seg_label_generate] Error 1
Thanks
Hello, this tag production code. Was it executed on top of running visual studio in the linux system? Or something.
When I try running the source code using make, I get this error -
In file included from src/lane/util.cpp:8:
include/lane/util.hpp:4:10: fatal error: opencv2/core/core.hpp: No such file or directory
4 | #include <opencv2/core/core.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:41: build/src/lane/util.o] Error 1
Can anyone help with this, please?
Hi, thank you. I use the image (size:1280*720) to get per-pixel image, how to change code for converting?
/usr/bin/ld: build/src/seg_label_generator.o: undefined reference to symbol '_ZN2cv7imwriteERKNS_6StringERKNS_11_InputArrayERKSt6vectorIiSaIiEE'
//usr/lib/x86_64-linux-gnu/libopencv_imgcodecs.so.3.2: 无法添加符号: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:41: recipe for target 'seg_label_generate' failed
make: *** [seg_label_generate] Error 1
Hi,xingang. I am a new person in this area.When I run this tool, I have some questions. Can you please help me to solve it?.after i make the file of seg_label_generate,A problem occurred.
include/lane/util.hpp;FATAL ERROR:OPENCV2/CORE/CORE.HPP:no such file or directory.
thanks!
I want to use CUlane dataset to train another model, and I need instance segmentation label.
Thanks much.
oliver@oliver-Z390-AORUS-ELITE:~/lanedet/seg_label_generate$ sh labelGen.sh
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.6.0) /home/oliver/opencv/modules/imgproc/src/resize.cpp:4055: error: (-215:Assertion failed) inv_scale_x > 0 in function 'resize'
Aborted (core dumped)
@XingangPan .Thank you very much for your work. I want to make new data myself. What tools do you use to mark it?
What does it mean when the coordinate value is a minus, THX!
I have added my own dataset path but when I run it, it does nothing. I would like to know the correct way of running this using my own dataset in order to know what I am doing wrong. Thank you in advance.
hello, I have tried to use this code to generate the seg label in my dataset, there are a question. I want to know how to set my file directory like CULane dataset. Can you post the list about the dataset directory in detail? it can help me to organize my dataset . Thanks!
Thanks for your work.
I want to check my network model on CULane benchmarks, so I download your dataset on google drive and follow your instruction.
I make a exe file and change directory path in labelGen.sh file, then I can see the labeled lane mask with source image.
I try to get segmented image without -s command in labelGen.sh, but I have got only black colored image.
Could you help me get the proper segmented image?
Hey xingang,
I have trouble compling the files after key in "make". They said I have undefined reference to CV. But I have installed CV sucessfully and tested with some simple programs.
I am using opencv 3.4. Based on your description, opencv 2.4 is recommended.
May I know if it's version incompatabilty causes the undefined reference?
Best regards,
ZX
Hi, Thanks for your excellent work. The CUlane dataset is really useful in our project. The image quality is great, too. I am a bit curious about the type of camera you choose. Could you share more information about the camera ?
How to judge existence ground truth is '0' or '1', I refer https://github.com/XingangPan/seg_label_generate this repo but I can not understand code without any comments. So could you kindly let me know the ways to generate existence ground truth?
got following error
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.
Could not find a package configuration file provided by "OpenCV" with any
of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
Make it's possible to add those configs to this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.