Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Run the Code on an Event Camera #3

Open
saratrajput opened this issue May 22, 2024 · 5 comments
Open

How to Run the Code on an Event Camera #3

saratrajput opened this issue May 22, 2024 · 5 comments

Comments

@saratrajput
Copy link

Hello. I'm not sure if this is the right place to ask this question. I am interested in using the tracking with an event camera, but I am not sure how to get started. Could you please provide some guidance or documentation on how to launch the code with a real camera?

  • Event camera model: Prophesee VGA
@lunagava
Copy link
Collaborator

Hello @saratrajput!

The code is already set up to read from a port on which the Prophosee event camera could stream data.

I suggest you install the Docker container we used to start the camera connected to the laptop.

Where you installed yarp, open a terminal and run yarpserver

Open a new terminal to execute the docker container you created previously, type commands to connect the docker to the yarpserver you started:
yarp conf IP_YARP_SERVER 10000
The IP_YARP_SERVER should be shown in the terminal you run yarpserver.

Next, start streaming packets of events on the yarp camera port /atis3/AE:o port
atis-bridge-sdk

Then, run the main.cpp and it should automatically connect to it as soon as it is under the same yarpserver.

@saratrajput
Copy link
Author

Hello @lunagava

Thank you for your reply, and apologies for the delayed update.

I attempted to use the Docker container you mentioned, but I encountered an error indicating that the camera is not connected. I believe this is because the Docker container lacks the plugin for the CenturyArks event camera that I am using.

I have another Docker container where I can access the camera, but yarp and related software are not installed in this container. Could you provide the base image for Ubuntu 20 with yarp installed? This would allow me to build a Docker image that supports my camera and includes yarp.

@saratrajput
Copy link
Author

Additionally, is it possible to use a different event camera like the DAVIS346 for this project?

@lunagava
Copy link
Collaborator

lunagava commented Jul 1, 2024

Hello @saratrajput
sorry for not answering but I was submitting my PhD thesis.

I suggest you to have a look at the Dockerfile in this repo; for example, the Dockerfile in yarp folder and copy and paste ubuntu download, yarp dependencies and yarp compile parts to merge with your software camera requirements and build the desired image!

As soon as you are able to stream in real-time your DAVIS346 output to yarp ports it is feasible but i have never done it!

Instead, I have tested converting DAVIS346 format to yarp .log (using bimvee library) and streamed offline through yarpdataplayer and it was working. This could be an intermediate step.

@saratrajput
Copy link
Author

@lunagava Thank you very much for the instructions. Let me try these and get back to you.
And best of luck with your PhD thesis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants