CV primitive implamantation for learning