Kushashwa Ravi Shrimali (Kush)

Search About Blog Categories Tags
  • Sep 25, 2021

    Declaring Overriding Functions override (Notes)

    NOTE My notes on Chapter 3, Item 12 of Effective Modern C++ written by Scott Meyers. Some (or even all) of the text can be similar to what you see in the book, as these are notes: I’ve tried not to be …

    cpp · book reading

  • Aug 25, 2021

    Prefer Deleted Functions to Private Undefined Ones (Notes)

    Prefer deleted functions to private undefined ones This item (11) in the chapter 3 focuses on: Why and How to prevent users calling particular functions? C++-98 and C++-11 approach What’s the difference between …

    cpp · book reading

  • Aug 14, 2021

    Prefer Scoped Enums over Unscoped Enums (Notes)

    Scoped vs Unscoped Enums General rule: declaring a name inside curly braces is limited to that scope. Exception: C++-98 style Enums NOTE My notes on Chapter 3, Item 10 of Effective Modern C++ written by Scott Meyers. …

    cpp · book reading

  • Aug 14, 2021

    Union Find Problem, and a naive implementation (C++)

    Hi Everyone, today I want to talk about Union Find Problem. This is going to be a series covering: Union Find Problem (this blog) Solutions to Union Find (1): Quick Find Solutions to Union Find (2): Quick Union Solutions …

    cpp · algorithms

  • Aug 12, 2021

    Prefer Alias Declarations to Typedefs (Notes)

    One solution to avoiding using long type names: // So C++98 like typedef std::unique_ptr<std::unordered_map<std::string, std::string>> UPtrMapSS;

    cpp · book reading

  • Jul 18, 2021

    Function Pointers and Function Objects in C++

    In today’s blog, we’ll talk about two important concepts in C++: Function Pointers and Function Objects. Please note that, function objects are commonly referred as functors but we have failed to notice any …

    cpp

  • Dec 10, 2020

    How to crop a circle in OpenCV? Implementing Portrait Bokeh - Part 2

    Hi everyone! In the previous blog we implemented Portrait Bokeh using Face Detection in OpenCV. While the results were good for a start, we definitely want to be closer to the output we expect. The end goal is to blur …

    opencv

  • Dec 7, 2020

    Implementing Portrait Bokeh in OpenCV using Face Detection (Part-1)

    OpenCV: Using face detection for Portrait Bokeh (Background Blur) (Part - 1) This blog discusses using Face Detection in OpenCV for Portrait Bokeh. We’ll be implementing Portrait Bokeh (blurring everything but …

    opencv

  • Sep 15, 2020

    Releasing Docker Container and Binder for using Xeus-Cling, Libtorch and OpenCV in C++

    Today, I am elated to share Docker image for OpenCV, Libtorch and Xeus-Cling. We’ll discuss how to use the dockerfile and binder. Before I move on, the credits for creating and maintaining Docker image goes to …

    pytorch · deep learning

  • Apr 26, 2020

    Understanding how Vectors work in C++ (Part-2): What happens when you initialize a vector?

    In the last blog post, I realized there were a lot of methods inherited from the base struct _Vector_base_ and _Vector_impl_data. Instead of directly going to the source code of these structs, I’ll go through their …

    cpp

← newer page 4 of 6 older →

CC BY-NC 4.0

twitteremaillinkedinstackoverflowgithub