GithubHelp home page GithubHelp logo

Comments (5)

take2rohit avatar take2rohit commented on June 10, 2024

You can use zed2 camera which gives depth info. You need to find the code snippet of intel realsense library used and replace with zed2 camera's image acquisition code.
Incase you do this and successfully run the code, feel free to create a pull request for the same. This will increase versatility of repo.🙂

from person_following_bot.

dineshrboson avatar dineshrboson commented on June 10, 2024

Yes I did the same that you have told just now and I am getting pipeline error as the realsense and zed having differences in setting up the pipeline by importing pyzed library.
import pyzed.sl as sl

Setup Realsense pipeline

pipe = sl.pipeline()
configure = sl.config()
width = 640; height = 480;
configure.enable_stream(sl.stream.depth, width, height, sl.format.z16, 30)
configure.enable_stream(sl.stream.color, width, height, sl.format.rgb8, 30)
dec_filter = sl.decimation_filter ()   # Decimation - reduces depth frame density
spat_filter = sl.spatial_filter()      # Spatial    - edge-preserving spatial smoothing
temp_filter = sl.temporal_filter()    # Temporal   - reduces temporal noise
pipe.start(configure)
align_to = sl.stream.color
align = sl.align(align_to)

from person_following_bot.

dineshrboson avatar dineshrboson commented on June 10, 2024

I changed the variable in realsense.py rl to sl and imported pyzed lib.
I'm getting errors though. I will try to do it and make a pull request.

from person_following_bot.

khush3 avatar khush3 commented on June 10, 2024

Hi, Can you confirm if all of the methods we call are defined in the pyzed module? Also, posting a screenshot of the errors you run into will be helpful.

from person_following_bot.

dineshrboson avatar dineshrboson commented on June 10, 2024

Yeah Yeah You will be amazed with the zed modules and the codes that they have given for every detection
https://github.com/stereolabs/zed-examples
https://github.com/stereolabs/zed-examples/tree/master/depth%20sensing
https://www.stereolabs.com/docs/tutorials/image-capture/
https://www.stereolabs.com/docs/opencv/python/
https://github.com/stereolabs/zed-opencv/tree/master/python

I installed zed api in my jetson nano once I run the program again I will follow up the error issue here

from person_following_bot.

Related Issues (10)

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.