Image processing for pattern detection | AMiner