Well, it seems that my Problem is gone.
I had the Problem that my Macbook Pro (Mid 2012) non Retina not sleeping.
After 5 minutes of inactivity and wehe it was plugged in to energy, the Fans begins to be loud
and the Macbook gets hot. The Display gos to sleep but the Macbook works continuously formore then 1 hour.
SMC reset, new clean installation of the System and all other things did not help.
Two days ago i observed that a task called „mediaanalysisd“ is taken 120% of CPU.
This happens only when the Macbook Pro is plugged in to energy and there is no activity on it.
On that moment when i do something or just move the Mouse, this task disappeared from Activity Monitor.
That is the reason i never have seen it before. But nov i put the Computer and the Display to never sleep
and started activity Monitor App.
After that i started Photos App and checkt the People that were found by it.
For some People it still searches sins 3 weeks nov and newer ends, maybe because there is just 1 Face and the App needs more then 1to finish his job. I deleted this persons from People and restarted the Macbook Pro.
And now „mediaanalysisd“ is still there but consuming only 10% CPU and the Macbook is not warm any more
and gos to sleep at the time when i set it in System Energy settings.