Created other variant of marker detection algorithm.