Skip to content

abelxmendoza/ComputerVision-ROS-LaptopCamera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComputerVision-ROS-LaptopCamera

This repository contains a ROS package that captures images from the laptop camera using OpenCV and publishes them on a ROS topic.

Prerequisites

  • Ubuntu 18.04 or later
  • ROS Melodic or later
  • OpenCV
  • cv_bridge
  • sensor_msgs

Installation

  1. Clone the repository:
  • git clone https://github.com/abelxmendoza/ComputerVision-ROS-LaptopCamera.git
  • Build the package:
  1. cd ComputerVision-ROS-LaptopCamera/catkin_ws catkin_make

Usage

  1. Run the camera_publisher_node.py file to start capturing images from the laptop camera and publishing them on the "camera_image" topic:
  • rosrun camera_publisher camera_publisher_node.py
  • View the published images using an image viewer such as rviz or image_view: span
  1. rosrun image_view image_view image:=/camera_image

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project was inspired by the ROS OpenCV Camera package.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published