Tutorials
Golang : Pad file extension automagically
Problem:
You want to pad file type extension to a given filename string without prompting your program users to do….... read more
Golang : Serving HTTP and Websocket from different ports in a program example
Problem:
For some reason you want to split the port use by your program to serve HTTP and Web-socket traffic.….... read more
Golang : Calculate BMI and risk category
I'm building a healthcare IoT device that will ask a person about their weight and report back the risk category.….... read more
Golang : Calculate diameter, circumference, area, sphere surface and volume
Let's travel back to high school for a while and learn some physics. We will learn how to calculate a….... read more
Golang : Find change in a combination of coins example
If you are planning to build a vending machine, self-service cashier machine or any machines that deal with money. Chances….... read more
Golang : Handling image beyond OpenCV video capture boundary
One of the problems that I was unable to solve at the previous tutorial on how to put….... read more
Golang : Print UTF-8 fonts on image example
Problem:
You need to write UTF-8 characters such as Icelandic,Chinese, Japanese, Korean, Russian or symbols like © Ø ® ß….... read more
Golang : Changing a RGBA image number of channels with OpenCV
Problem:
Golang image packages deal with RGBA ( 4 channels ) and OpenCV deals with BGR ( 3 channels ).….... read more
Golang : Put UTF8 text on OpenCV video capture image frame
The HERSHEY font use by OpenCV does not support UTF-8 characters. If you use my previous tutorial on how to….... read more
Golang : Set image canvas or background to transparent
Putting this down here for my own future reference. Maybe useful to you too. Anyway, basically what I need is….... read more
Golang : Add text to image and get OpenCV's X, Y co-ordinates example
Building on from the previous OpenCV-GTK-GUI application tutorial. For this tutorial, I need to know where to position….... read more
Golang : Another camera capture GUI application with GTK and OpenCV
For those that prefer to use GTK over Qt, this is another tutorial/example to show you how to .... read more
Golang : GUI with Qt and OpenCV to capture image from camera
After the tutorial on how to display image with Qt and Golang. I need to build a Graphical….... read more
Golang : Qt image viewer example
This is the Qt version of the previous tutorial on how to create a simple image viewer with….... read more
Golang : Detect number of faces or vehicles in a photo
This is a short tutorial on how to use OpenCV to detect the number of faces in an image. Knowing….... read more
Golang : Calculate half life decay example
My wife is a chemistry lecturer and she was showing her student how to calculate half-life decay of an element.….... read more
Golang : Play .WAV file from command line
Problem:
You have recorded your voice on a .wav
file with the previous tutorial on how to activate….... read more
Golang : ffmpeg with os/exec.Command() returns non-zero status
Problem:
You want to use ffmpeg
with os/exec.Command() and Run() to create your video files.
However, it keeps bombing….... read more