Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug about Linemod detection #49

Open
yuhan1010 opened this issue Mar 5, 2022 · 0 comments
Open

Bug about Linemod detection #49

yuhan1010 opened this issue Mar 5, 2022 · 0 comments

Comments

@yuhan1010
Copy link

yuhan1010 commented Mar 5, 2022

Hi everyone,

when I try to run the detect code following official guide, there are some problems I meet:

yuhan@ubuntu:~/ork_ws$ rosrun object_recognition_core detection -c  `rospack find object_recognition_linemod`/conf/detection.ros.ork
[ INFO] [1646498078.276179011]: Initialized ROS. node_name: /object_recognition_server
[ INFO] [1646498078.621038243]: System already initialized. node_name: /object_recognition_server
[ INFO] [1646498078.628744160]: Subscribed to topic:/camera/color/camera_info [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1646498078.633553914]: Subscribed to topic:/camera/depth/image_rect_raw [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1646498078.637222697]: Subscribed to topic:/camera/color/image_raw [queue_size: 1][tcp_nodelay: 0]
[ INFO] [1646498078.640329318]: Subscribed to topic:/camera/depth/camera_info [queue_size: 1][tcp_nodelay: 0]
Reading the mesh file original.stl
Info,  T0: Load 0p���.stl
Info,  T0: Found a matching importer for this file format
Info,  T0: Import root directory is './'
Info,  T0: Entering post processing pipeline
Info,  T0: Points: 0, Lines: 0, Triangles: 1, Polygons: 0 (Meshes, X = removed)
Error, T0: FindInvalidDataProcess fails on mesh normals: Found zero-length vector
Info,  T0: FindInvalidDataProcess finished. Found issues ...
Info,  T0: GenVertexNormalsProcess finished. Vertex normals have been calculated
Error, T0: Failed to compute tangents; need UV data in channel0
Info,  T0: JoinVerticesProcess finished | Verts in: 1536 out: 258 | ~83.2%
Info,  T0: Cache relevant are 1 meshes (512 faces). Average output ACMR is 0.669922
Info,  T0: Leaving post processing pipeline
Loaded 702d35bb8aa818369dc24ff51b000e44 with the number of samples 5100

OpenCV Error: Assertion failed (response_map.cols % T == 0) in linearize, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/rgbd/src/linemod.cpp, line 1099
Traceback (most recent call last):
  File "/home/yuhan/ork_ws/src/object_recognition_core/apps/detection", line 24, in <module>
    run_plasm(args, plasm)
  File "/home/yuhan/ork_ws/src/ecto/python/ecto/opts.py", line 85, in run_plasm
    sched.execute(options.niter)
ecto.CellException:            exception_type  CellException
[cell_name] = pipeline1

[cell_type] = ecto_linemod::Detector

[function_name] = process_with_only_these_inputs

[type] = cv::Exception

[what] = /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/opencv_contrib/rgbd/src/linemod.cpp:1099: error: (-215) response_map.cols % T == 0 in function linearize

I have no idea why it happened, it is a problem about resolution of figures or sth else?

thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant