People who wants to use this tool should bear in mind that OpenCV version 4 or above is not compatible with the software. It seems some data types such as CvScalar do not exist in the newer version of OpenCV. Version 3.4.8 works fine!
Update: I ended up using OpenCV 3.3.0.