Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try adding

genderNet.setPreferableTarget(DNN_TARGET_OPENCL);

If you have an Intel GPU it might speed up the calculations. Otherwise it will use the CPU which is rather slow with deep neural networks.