Open tkmtnt7000 opened 1 year ago
◉ Kei Okada
2023年1月25日(水) 18:46 Naoto Tsukamoto @.***>:
On noetic with opencv4, the following error occurs because arg face_cascade_name declares twice.
$ roslaunch opencv_apps face_detection.launch use_opencv4:=true image:=/usb_cam/image_raw debug_view:=false ... logging to /home/tsukamoto/.ros/log/816f6d2e-9c7e-11ed-a041-270d6101f3c5/roslaunch-tsukamoto-desktop-ryzen-471330.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
RLException: Invalid
tag: arg 'face_cascade_name' has already been declared. Arg xml is
The traceback for the exception was written to the log file I think I fixed it in this PR, but this may not be the best solution because it contains breaking changes. So, could you tell me if anyone have another solution?
And I also fixed typo.
You can view, comment on, or merge this pull request online at:
https://github.com/ros-perception/opencv_apps/pull/142 Commit Summary
- a620ceb https://github.com/ros-perception/opencv_apps/pull/142/commits/a620ceb13396c0947ca9d3599b20099963898e11 Fix arg condition when launching with opencv4
- 0ff70d5 https://github.com/ros-perception/opencv_apps/pull/142/commits/0ff70d521670e3d5f7c1cfee3e621303d867d275 Fix typo; dtection=>detection
File Changes
(1 file https://github.com/ros-perception/opencv_apps/pull/142/files)
- M launch/face_detection.launch https://github.com/ros-perception/opencv_apps/pull/142/files#diff-36d442b541c96cb161da3972a5b67f3aed59dbb4d09ce4a53a9c5bb5e914e4d5 (26)
Patch Links:
- https://github.com/ros-perception/opencv_apps/pull/142.patch
- https://github.com/ros-perception/opencv_apps/pull/142.diff
— Reply to this email directly, view it on GitHub https://github.com/ros-perception/opencv_apps/pull/142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYNXGAFJG6KUPGJTMRLVTWUDY5RANCNFSM6AAAAAAUGDB6NQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
On noetic with opencv4, the following error occurs because arg
face_cascade_name
declares twice.I think I fixed it in this PR, but this may not be the best solution because it contains breaking changes. So, could you tell me if anyone have another solution?
And I also fixed typo.