Giter Site home page Giter Site logo

Run in melodic about yolox-ros HOT 15 CLOSED

hongSS0919 avatar hongSS0919 commented on May 27, 2024 1
Run in melodic

from yolox-ros.

Comments (15)

hongSS0919 avatar hongSS0919 commented on May 27, 2024 1

Thank you very much for your timely reply. Do I need to put YOLOX into YOLOX_ROS ? Which directory should I put it in
Screenshot from 2022-03-09 11-15-23

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on May 27, 2024

I don't understand about that log ament_python...

Did you run git checkout noetic ?

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

I'm sorry, I don't seem to understand what you mean. I'll write down my operation flow:
1.mkdir -p yoloxx_ws/src && cd yoloxx_ws
2.catkin config -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.6m.so
3.catkin config --install
4.cd src && git clone https://github.com/Ar-Ray-code/YOLOX-ROS.git
5.cd ..
6.catkin_ make
I don't know if there is something wrong with my operation. My ros version is melodic
Screenshot from 2022-03-09 09-38-50

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

ament_pyhton looks like something in ros2

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on May 27, 2024

Please try following.

sudo apt install ros-melodic-usb-cam
source <your-ros-env-directory>/setup.bash
mkdir -p ~/ros1_ws/src
cd ~/ros1_ws
catkin config -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.6m.so
catkin config --install

cd ~/ros1_ws/src
catkin_init_workspace
git clone [email protected]:Ar-Ray-code/YOLOX-ROS.git -b noetic --recursive # <- checkout and clone submodule
cd ~/ros1_ws
catkin_make

If you can't use [email protected]:, please try to use https://github.com/ to download and clone bbox_ex_msgs manually.

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on May 27, 2024

YOLOX-ROS does not contain YOLOX.
Read README.

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

I'm really sorry to bother you again. I feel that there are still problems in my operation . Instead of using a web camera, I wrote a cpp file myself, read the photos in the folder repeatedly, and publish them as topics, but I didn't find the results.

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

Screenshot from 2022-03-09 14-47-45
Screenshot from 2022-03-09 14-47-46

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on May 27, 2024

Well...
I have made something similar.

Ar-Ray-code/movie_publisher/picture_publisher.cpp
I don't know if it will work in your environment...

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

Thank you very much. My publisher is similar to yours. I don't think my picture publisher exists problem, but the above problem still hasn't been solved. I read your source code. If it works normally, the results of picture should appear automatically by opencv function : imshow().
Screenshot from 2022-03-09 15-38-49

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

How do you check the information in the bounding box? such as:
yolox_topic

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

I think it hasn't executed the callback function, but I'm sure the picture has been published

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

Screenshot from 2022-03-09 16-02-23
Screenshot from 2022-03-09 16-02-46

from yolox-ros.

Ar-Ray-code avatar Ar-Ray-code commented on May 27, 2024

Umm...
Last update of YOLOX-ROS noetic branch is August 2021, so it may have version mismatch.
I think you have to use older YOLOX version (e.g. v0.1.0 )and legacy models.

from yolox-ros.

hongSS0919 avatar hongSS0919 commented on May 27, 2024

According to your suggestion, I used YOLOX v0 1.0, but the problems are the same as what I described above. Execute exception when calling callback function.

from yolox-ros.

Related Issues (20)

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.