OpenCV Python Pose Estimation

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

Комментарии • 19

  • @kevinwoodrobotics
    @kevinwoodrobotics  3 месяца назад

    Code and Doc: kevinwoodrobotics.com/product/opencv-python-pose-estimation/
    OpenCV Python Playlist Code and Doc: kevinwoodrobotics.com/product/opencv-python-tutorials-full-playlist/

  • @AlexanderLeon-t8z
    @AlexanderLeon-t8z 15 дней назад

    Hello, Kevin, I would like to perform real-time 3D rotation estimation of a cuboid (with rotations along the X, Y, and Z axes not exceeding 30 degrees). Would it be feasible to use SIFT to manually annotate four points on one face of the cuboid and then use CNN for convolutional training to accomplish this task? How would this approach perform in terms of accuracy and real-time capability? Alternatively, do you have any other ideas for solving this problem? I would greatly appreciate your input.

    • @kevinwoodrobotics
      @kevinwoodrobotics  14 дней назад

      In theory that could work. But I’d say the easiest way is to use some markers if you can attach something on the cube or checkout my latest video on 6D pose estimation

    • @kevinwoodrobotics
      @kevinwoodrobotics  14 дней назад

      For real time there’s a lot of variables to consider so hard to say without more details

    • @AlexanderLeon-t8z
      @AlexanderLeon-t8z 9 дней назад

      @@kevinwoodrobotics Sorry, Kevin, I was busy with other things and missed your RUclips message from a few days ago. When you mentioned adding markers to objects, are you referring to something like adding a QR code to the object, similar to AirTags, or something like the codes in your new video? If you don't add markers, does that mean using RGB or RGBD images in CNN training might result in lower real-time performance, making it less suitable for real-time detection and correction environments? Looking forward to your reply.

  • @patboy24
    @patboy24 5 месяцев назад +1

    Hi great video! What is the downside of this implementation compared to 6D pose estimation by training 3D object with DOPE?

    • @kevinwoodrobotics
      @kevinwoodrobotics  5 месяцев назад +1

      Great question! DOPE can be good when it’s difficult to find specific points to detect your pose, especially organic objects. But if you can reliably figure out key points, then you can use this classical approach

    • @patboy24
      @patboy24 5 месяцев назад

      @@kevinwoodrobotics did you make a video about DOPE implementation?

    • @kevinwoodrobotics
      @kevinwoodrobotics  5 месяцев назад

      @@patboy24 I didn’t but I’ve looked into it a bit

  • @densq31
    @densq31 7 месяцев назад

    Hi, cool video!
    What is the version of opencv are you using here?

    • @kevinwoodrobotics
      @kevinwoodrobotics  7 месяцев назад +1

      opencv-python==4.8.0.74

    • @densq31
      @densq31 7 месяцев назад

      @@kevinwoodrobotics thanks a lot)

    • @densq31
      @densq31 7 месяцев назад

      @@kevinwoodrobotics btw will you make a video about Aruco markers detection?

    • @kevinwoodrobotics
      @kevinwoodrobotics  7 месяцев назад

      @@densq31 sure I can add to my list!

  • @윤준영-g3g
    @윤준영-g3g 6 месяцев назад

    Hi will the accuracy of the pose increase if I use more than 4 points in sovepnp?

    • @kevinwoodrobotics
      @kevinwoodrobotics  6 месяцев назад

      Generally yes if the points provide new information. If the points are identical or if they are clustered or same plane, it may cause problems or have a degenerate solution

  • @ningguangleaks2001
    @ningguangleaks2001 4 месяца назад

    Hello May I ask Why i got this error?
    [Errno 2] No such file or directory: 'C:\\Users\\OneDrive - \\Documents\\Pose Estimation\\54-camera-calibration/calibration.npz'
    File "C:\Users\OneDrive - \Documents\Pose Estimation\main.py", line 38, in poseEstimation
    data = np.load(paramPath)
    ^^^^^^^^^^^^^^^^^^
    File "C:\Users\OneDrive - \Documents\Pose Estimation\main.py", line 81, in
    poseEstimation(DrawOption.CUBE)
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\OneDrive - \\Documents\\Pose Estimation\\54-camera-calibration/calibration.npz'
    I just copied and pasted the code in your github in my vs code, is there any configurations I need to do? thank you.

    • @kevinwoodrobotics
      @kevinwoodrobotics  4 месяца назад

      It could be where you’re running it from or the structure of your folders. Can try checking that or using some manual paths of all else fails

    • @ningguangleaks2001
      @ningguangleaks2001 4 месяца назад

      @@kevinwoodrobotics yep I just made a file in VS code then made 2 files inside that one for pose stimation and 1 for camera callibration