1. A method of large-scale face representation comprising: receiving, with an electronic processor, at least one image of a subject of interest; applying, with the electronic processor, at least one subspace model as a splitting binary decision function on the at least one image of the subject of interest; generating, with the electronic processor, at least one binary code from the at least one splitting binary decision function; applying, with the electronic processor, a code aggregation model to combine the at least one binary codes generated by the at least one subspace model; generating, with the electronic processor, an aggregated binary code from the code aggregation model; and using the aggregated binary code to provide a hashing scheme.