Automatically detected active regions on the sun