The traditional manual method of counting Drosophila adults takes a long time and limits the opportunity of making large-scale experiments. The FlyCounter application receives images directly from the camera of a mobile device, recognizes a sheet of paper, detects flies and allows you to count their number, as well as predict their gender.