add sample of detect graphs from a picture