How manojpremsm/edge_detection works
Edge Detection provides a standalone OpenCV image workflow and ROS-based edge detection, 2D-edge-to-3D-point-cloud conversion, and marker visualization. In the basic path, a user supplies an image and output paths to the Canny detector. In ROS, a client requests edge detection from a service; separately, camera image, depth, and calibration topics feed point-cloud generation, which a marker node can visualize. The README documents these capabilities, but the service server’s image-topic subscription and service request are not visibly connected in the sampled code.
Main entry points: edge_detection_client.py Service Client · edge_detection.py Canny Image Detector · edge_detection_server.py Service Server · edge2pc.py Edge Point Converter
Components 11
Basic Detection
- Canny Image Detector
edge_detection_ros/Basic/edge_detection.py - Edge Image Outputs
edge_detection_ros/Basic/output_results
ROS Service
- Service Client
edge_detection_ros/edge_service/src/edge_detection_client.py - Detection Service
edge_detection_ros/edge_service/srv/EdgeDetection.srv - Service Server
edge_detection_ros/edge_service/src/edge_detection_server.py
3D Conversion
- Edge Point Converter
edge_detection_ros/edge_service/src/edge2pc.py - Edge Point Cloud
Visualization
- Marker Publisher
edge_detection_ros/edge_service/src/marker.py
Other components
- Image User
- Camera Topics
- RViz
Connections 10
- Image User → Canny Image Detector: supplies image
README.md - Canny Image Detector → Edge Image Outputs: writes results
edge_detection_ros/Basic/edge_detection.py - Image User → Service Client: starts client
README.md - Service Client → Detection Service: sends request
edge_detection_ros/edge_service/src/edge_detection_client.py - Service Client → Service Server: calls service
edge_detection_ros/edge_service/src/edge_detection_client.py - Service Server → Detection Service: serves request
edge_detection_ros/edge_service/src/edge_detection_server.py - Camera Topics → Edge Point Converter: provides image, depth, calibration
edge_detection_ros/edge_service/src/edge2pc.py - Edge Point Converter → Edge Point Cloud: publishes points
edge_detection_ros/edge_service/src/edge2pc.py - Edge Point Cloud → Marker Publisher: supplies points
edge_detection_ros/edge_service/src/marker.py - Marker Publisher → RViz: publishes markers
README.md