A Hopfield-like network modified for translation and rotation invariant pattern recognition is studied on a computer. The neural firing thresholds θ are used as additional degrees of freedom. The phase diagram in the space of parameters (T, θ) is obtained both for the translation and the rotation.