GithubHelp home page GithubHelp logo

Comments (4)

jkjung-avt avatar jkjung-avt commented on July 25, 2024 1

Maybe GStreamer's v4l2src does not work for the USB webcam you're using. Please try if replace open_cam_usb() function with the following works.

def open_cam_usb(dev, width, height):
    return cv2.VideoCapture(dev)

from tensorrt_demos.

gzz1529657064 avatar gzz1529657064 commented on July 25, 2024

Maybe GStreamer's v4l2src does not work for the USB webcam you're using. Please try if replace open_cam_usb() function with the following works.

def open_cam_usb(dev, width, height):
    return cv2.VideoCapture(dev)

thank you replay, you suggestion works!

from tensorrt_demos.

gzz1529657064 avatar gzz1529657064 commented on July 25, 2024

I read your github repository 'tf_trt_models'. I want to transform the mobilenet_v1_yolo_v3 tensorflow model, but it need a mobilenet_v1_yolo_v3_egohands.config. I don't know how to write this file.
What should I do?

I feel that it is not easy to accelerate the YOLOv3 tensorflow model with tensorRT. I'm going to try caffe on Jetson TX2。Your blog has helped me a lot。Thank you very much!

from tensorrt_demos.

jkjung-avt avatar jkjung-avt commented on July 25, 2024

I think you need to train your own 'mobilenet_v1_yolo_v3_egohands.config' model. You could refer to my Training a Hand Detector with TensorFlow Object Detection API blog post. I demonstrated how to train SSD and Faster RCNN models there.

Since this question is not directly related to 'tensorrt_demos', I'd appreciate it if you post further comments/questions in the more proper places, e.g. Disqus forum on my blog post or my GitHub hand-detection-tutorial repository.

from tensorrt_demos.

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.