Skip to content

Instantly share code, notes, and snippets.

We climb the walls of Hell one centimetre at a time

Emanuele Di Saverio hazam

We climb the walls of Hell one centimetre at a time
  • frog
  • Milan, Italy
View GitHub Profile
View gist:980d228737c0da5faecddeef99a8b4fc
Verifying that "" is my Blockstack ID.
View gist:7edd89250840feef171bc9709cfc6d03
Core.inRange(mHsvMat, ncb.lowerBound, ncb.upperBound, mMask)
Imgproc.dilate(mMask, mDilatedMask, kernel)
val contours = ArrayList<MatOfPoint>()
Imgproc.findContours(mDilatedMask, contours, mHierarchy, Imgproc.RETR_EXTERNAL, Imgproc.CHAIN_APPROX_SIMPLE)
// Imgproc.drawContours(rgbaImage, contours, -1, new Scalar( 0,255, 0, 255));
// Find max contour area
View gist:c2d6b6522297109b9c5a
Verifying that +hazam1234 is my blockchain ID.
hazam /
Created Nov 11, 2014
Dishomogeneous lists: cast vs wrapperclass
public class PerfTest extends TestCase {
private static final int RUNS = 1000000;
private ArrayList<Object> dishomo = new ArrayList<Object>();