Skip to content

Instantly share code, notes, and snippets.

Avatar

Oren Bell nightduck

View GitHub Profile
@nightduck
nightduck / Install_OpenCV4_CUDA10.md
Last active Jul 9, 2020 — forked from raulqf/Install_OpenCV4_CUDA10.md
How to install OpenCV 4.2 with CUDA 10.0 in Ubuntu 18.04
View Install_OpenCV4_CUDA10.md

How to install OpenCV 4.2.0 with CUDA 10.0 in Ubuntu distro 18.04

Custom instructions targetted at a ROS2 build on Jetson AGX meant to work with Airsim

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

@nightduck
nightduck / image_converter.cpp
Created May 22, 2020
cv_bridge demo in ROS2
View image_converter.cpp
#include <stdlib.h>
#include <functional>
#include "rclcpp/rclcpp.hpp"
#include "image_transport/image_transport.h"
#include <cv_bridge/cv_bridge.h>
#include "sensor_msgs/image_encodings.hpp"
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
You can’t perform that action at this time.