A library for gender recognition