halostorm / pcat_open_source Goto Github PK
View Code? Open in Web Editor NEWPointCloud Annotation Tools, support to label object bound box, ground, lane and kerb
PointCloud Annotation Tools, support to label object bound box, ground, lane and kerb
[ INFO] [1586274937.294268862]: rviz_cloud_annotation: m_current_label 1
[ INFO] [1586274937.312954936]: rviz_cloud_annotation: ANNOTATION_TYPE 0
[ INFO] [1586274937.317525770]: rviz_cloud_annotation: shape[x1 -1.566000 x2 3.004000 y1 1.797000 y2 3.726000 z1 -1.467000 z3 -0.100000]
[ INFO] [1586274937.317583735]: BBOX[0]:0.000000 -1.566000 3.004000 0.000000 1.797000 3.726000 -1.467000 -0.100000 1.000000 -1.000000
180 Yaw 0[ INFO] [1586274937.317620274]: rviz_cloud_annotation: alpha is 0.254711
[ INFO] [1586274937.317693286]: rviz_cloud_annotation: selection set 8820 points.
[ INFO] [1586274941.427988303]: rviz_cloud_annotation: saving file: /home/dongzhou/lidar_annotation/_annotation/64line.ann
[ INFO] [1586274941.429595670]: rviz_cloud_annotation: done.
[ INFO] [1586274941.429847390]: rviz_cloud_annotation: saving cloud: /home/dongzhou/lidar_annotation/_pcd/64line.pcd
[ INFO] [1586274941.458699367]: rviz_cloud_annotation: done.
[rviz_cloud_annotation_node-2] process has died [pid 28851, exit code -11, cmd /home/dongzhou/PCAT_open_source/devel/lib/rviz_cloud_annotation/rviz_cloud_annotation_node __name:=rviz_cloud_annotation_node __log:=/home/dongzhou/.ros/log/270367da-78e8-11ea-bb0a-e82aea0b42da/rviz_cloud_annotation_node-2.log].
log file: /home/dongzhou/.ros/log/270367da-78e8-11ea-bb0a-e82aea0b42da/rviz_cloud_annotation_node-2*.log
你好!我运行sh install.sh之后,得到了这个输出结果:
https://paste.ubuntu.com/p/VVMGjzBZsS/
好像是缺少src/rviz_cloud_annotation/lib/librviz_cloud_annotation_com.so和src/rviz_cloud_annotation/lib/librviz_cloud_annotation_plugin.so两个文件。能帮我看看怎么解决吗?
According to the definition of bbox label u provided in 'image/s5.png', the object of interest can be described by its size (length, width, height), location (x_c, y_c, z_c), theta and alpha. However, I have three question about the definition of bbox label:
which object point does the location (x_c, y_c, z_c) represents? the center of target or just like KITTI dataset (the bottom center of target)? And is the location (x_c, y_c, z_c) the original of object coordinate system?
the 3D size of object includes length, width and height, Which axis of object coordinate system are they respectively aligned with? length-x, width-y, height-z?
how is the alpha defined? the angle between the x-axis of observer coordinates and the x-axis of object coordinates? which case is it defined as positive?and when is negative?
regards,
dong zhou
根据你们在 'image/s5.png' 所提供的bbox label定义来看,感兴趣目标能够由 size (length, width, height), location (x_c, y_c, z_c), theta and alpha 来描述。 但是我对bbox label定义有几个问题没有弄明白:
label中的the location (x_c, y_c, z_c) 对应目标的哪个点?目标中心或者像KITTI数据集那样,对应目标底面中心?还有the location (x_c, y_c, z_c) 应该就是目标坐标系的原点吧?
目标三维尺寸包括长、宽、高,它们分别对应目标坐标系的哪个轴?长对应x轴,宽对应y轴,高对应z轴?
alpha角是如何定义的?它是观测坐标系x轴和目标坐标系x轴的夹角吗?这个alpha角什么时候为正,什么时候为负?
非常期待您的回答!
周栋
运行一次之后lidar_annotation目录下会出现许多文件夹,但是再次运行run.sh的时候会报以下错误:
[ERROR] [1608186309.274574610]: Marker 'cloud/0': Points should not be empty for specified marker type.
删除lidar_annotation目录下的其他文件后再次运行可以恢复正常,但是标注的文件也一起被删了
Ubuntu18.04,测试时标注KITTI数据集的000000.pcd点云文件
[ 72%] Built target rviz_cloud_annotation_plugin_autogen
Scanning dependencies of target rviz_cloud_annotation_plugin
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by '/home/hjimi/workspace/tools/PCAT_open_source-master/devel/lib/librviz_cloud_annotation_plugin.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 75%] Building CXX object rviz_cloud_annotation/CMakeFiles/rviz_cloud_annotation_plugin.dir/rviz_cloud_annotation_plugin_autogen/mocs_compilation.cpp.o
[ 78%] Building CXX object rviz_cloud_annotation/CMakeFiles/rviz_cloud_annotation_plugin.dir/src/rviz_cloud_annotation_plugin.cpp.o
[ 81%] Building CXX object rviz_cloud_annotation/CMakeFiles/rviz_cloud_annotation_plugin.dir/src/rviz_select_tool.cpp.o
CMakeFiles/Makefile2:704: recipe for target 'rviz_cloud_annotation/CMakeFiles/rviz_cloud_annotation_plugin.dir/all' failed
make[1]: *** [rviz_cloud_annotation/CMakeFiles/rviz_cloud_annotation_plugin.dir/all] Error 2
如何解决啊
CMake Error at CMakeLists.txt:1:
Parse error. Expected a command name, got unquoted argument with text
"/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake".
-- Configuring incomplete, errors occurred!
Invoking "cmake" failed
执行sh install.sh的时候出现上面的错误,这是为啥?
error: ‘setw’ is not a member of ‘std’; did you mean ‘set’?
in src/rviz_cloud_annotation/src/rviz_cloud_annotation_points.h add
#include
error: ‘CV_LOAD_IMAGE_COLOR’ was not declared in this scope
in src/rviz_cloud_annotation/src/rviz_cloud_annotation_plugin.h add
#include "opencv2/imgcodecs/legacy/constants_c.h"
when I select the Kerb, the software don't respond anything,and after that, it seems running on something so that I couldn't even zoom the annotation page. Is anyone meeting this? I'm really looking forward to help~
Why can I only open the sample PCD given, but my PCD file format cannot be opened, please let me know! ! Thank you
当标注完成后,能否将标注结果读取到rviz中进行显示,以及微调后重新保存
Python2.7都要停用了。
你好,想问下,标注的点云中心点坐标结果是在相机的坐标系内吗?还是lidar的坐标系的值?
环境都配置好了,install.sh也成功了,但是运行run.sh时报错,报错如下:
liufan@liufan-Latitude-5401:~/lf/PCAT_open_source$ sh run.sh
... logging to /home/liufan/.ros/log/3daba2a2-cd81-11ea-aab5-d81265607069/roslaunch-liufan-Latitude-5401-2505.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://liufan-Latitude-5401:33429/
PARAMETERS
NODES
/
annotation_rviz (rviz/rviz)
rviz_cloud_annotation_node (rviz_cloud_annotation/rviz_cloud_annotation_node)
auto-starting new master
process[master]: started with pid [2516]
ROS_MASTER_URI=http://localhost:11311
[annotation_rviz-3] killing on exit
[rviz_cloud_annotation_node-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
当我运行sh install.sh时,它出现了Invoking "make -j6 -l6" @failed这个错误,我不知道为什么。你能帮我解答一下吗?
我的pcd文件是读取雷达数据然后转成的,每一帧点的数量是24000,每次启动时加载pcd文件比较慢,标注完一帧数据后,切换到下一帧,耗时也比较多,不知道这是正常的情况吗?
在进行点云标注的过程中,我如果选择多边形标注点云,它无法像视频操作中的那样自动就生成bbox?
博主你好,我现在在使用最新版本的点云标注工具,我将点云对应的图像文件添加到~/lidar_annotation/image文件夹下,点云文件和对应的图片文件名称相同,但是在运行标注工具的时候图像显示框依旧是No image,想问一下有什么比较好的解决方法
[ERROR] [1589107141.546822435]: PluginlibFactory: The plugin for class 'rviz_cloud_annotation/Annotation Tool' failed to load. Error: Failed to load library /share_zyx/PCAT_open_source/devel/lib//librviz_cloud_annotation_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version Qt_5' not found (required by /share_zyx/PCAT_open_source/devel/lib//librviz_cloud_annotation_plugin.so)) [ERROR] [1589107141.556759737]: PluginlibFactory: The plugin for class 'rviz_cloud_annotation/Annotation' failed to load. Error: Failed to load library /share_zyx/PCAT_open_source/devel/lib//librviz_cloud_annotation_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version
Qt_5' not found (required by /share_zyx/PCAT_open_source/devel/lib//librviz_cloud_annotation_plugin.so))
================================================================================REQUIRED process [annotation_rviz-2] has died!
process has finished cleanly
log file: /root/.ros/log/7c1fa32e-92a5-11ea-9bf1-e0d55ef88a30/annotation_rviz-2*.log
Initiating shutdown!
这样标注下一帧时只需要微调box的位置即可,可以极大提高标注效率
请问这个有解决方案了吗
使用示例pcd文件,运行没有点云显示,错误日志:
cd/64line.pcd
[ INFO] [1597400440.474601640]: rviz_cloud_annotation: expected pcd format: XYZI
[ INFO] [1597400440.546957026]: rviz_cloud_annotation: cloud size: 110090
[rviz_cloud_annotation_node-2] process has died [pid 10012, exit code -11, cmd /media/fy/Disk/code/opensource/PCAT_open_source/devel/lib/rviz_cloud_annotation/rviz_cloud_annotation_node __name:=rviz_cloud_annotation_node __log:=/home/fy/.ros/log/ccc08858-de17-11ea-a5d3-00e18c8bd904/rviz_cloud_annotation_node-2.log].
log file: /home/fy/.ros/log/ccc08858-de17-11ea-a5d3-00e18c8bd904/rviz_cloud_annotation_node-2*.log
[ INFO] [1597400440.807173683]: Stereo is NOT SUPPORTED
[ INFO] [1597400440.807288917]: OpenGl version: 3 (GLSL 1.3).
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.