Bringing Rviz from container to host

First, set the permissions:

Then create the container and give it a name, do not forget –privileged :

If you have already created that container, just start it

or you can create a temporary container to get deleted after exit:

Install camera packages:

Now stream the camera from the container: […]

Bringing Rviz from container to host Read More »

Mastering git, Part 14, git-flow and GitHub flow

Git-Flow and GitHub Flow Both Git-Flow and GitHub Flow are workflow models that guide how software development teams use Git for version control. Each has its own structure and rules for managing branches, which can influence how teams collaborate and deploy software. Git-Flow Git-Flow is a branching model for Git, designed by Vincent Driessen. It

Mastering git, Part 14, git-flow and GitHub flow Read More »

Mastering git, Part 13, Detached HEAD in Git

Detached HEAD Before everything, let’s have a look at some stuff. Everything in Git is about commits, and many git commands accept commits as a parameter, i.e.

We have to understand how to reference commits. Hash The SHA-1 hash of a commit is the most straightforward method to refer to it. In the

Mastering git, Part 13, Detached HEAD in Git Read More »

SSH connection to Google Colaboratory and Transfering files from Google Drive

Do like to access the Google Colaboratory directly from your machine? Running your script via terminal and having shell access? Then there is a good news, just do the followings: SSH to Google Colaboratory 1. Install colab_ssh on Google Colaboratory

Add cloudflared and password for root user:

2. Install cloudflared on your machine

SSH connection to Google Colaboratory and Transfering files from Google Drive Read More »

Developing Redis applications with C++

I have found the following libraries to develop redis applications with c++ : hiredis (only available for c) redis-plus-plus (based on hiredis, available for C++) cpp-redis Asynchronous Multi-Platform, no dependency Installation of redis-plus-plus First lets install hiredis

Then we install redis-plus-plus

Using redis-plus-plus in your application I have created the following CMake to

Developing Redis applications with C++ Read More »

Metrics for Evaluating Machine Learning Models – Classification

Confusion Matrix Let’s say we have a binary classifier cats and non- cats, we have 1100 test images, 1000 non cats, 100 cats. The output of the classifier is either Positive  which means “cat” or Negative which  means non-cat. The following is called confusion matrix: How to interpret these term is as follows: Correctness of

Metrics for Evaluating Machine Learning Models – Classification Read More »