ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Use android's camera

asked 2012-12-11 01:19:37 -0600

Pedro gravatar image

updated 2012-12-11 02:56:53 -0600

SL Remy gravatar image

Hi,

is there a way to get a video stream from an android phone's camera in the pc and publish it as a sensor_msgs/Image message?

Also, is there a package to convert a recorded video file into sensor_msgs/Image messages?

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-12-11 02:45:20 -0600

SL Remy gravatar image

The wiki doesn't say so, but the project site indicates that android_sensors_driver does what you'd like.

As far as your video question, you could use cv_bridge or ros2opencv.

edit flag offensive delete link more

Comments

Thanks! For now I'll just use a recorded video and cv_bridge worked fine.

Pedro gravatar image Pedro  ( 2012-12-12 01:30:42 -0600 )edit

Now there is a separate app for streaming camera images, https://github.com/chadrockey/android...

Mehdi. gravatar image Mehdi.  ( 2015-07-07 04:06:36 -0600 )edit

Question Tools

Stats

Asked: 2012-12-11 01:19:37 -0600

Seen: 4,124 times

Last updated: Dec 11 '12