Comments (5)
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.
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.
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.
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.
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)
- web_camera node in bonus HOT 1
- Camera placement and controller working HOT 2
- Usage of Gaussian Filter HOT 1
- code is not working on jetson xavier nx
- The code seems to freeze after choosing ROI and pressing ENTER
- Add license HOT 1
- yolov3.weights is not found in this project HOT 2
- Turtlebot deployment issues HOT 3
- How to use follow.py ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from person_following_bot.