If you don't use the Photos app on your Mac, I have found a possible solution. Delete the albums used by Photos app -- open finder and navigate to wherever your Photos album is stored (for me in ~/Pictures).
After deleting these albums, the Photos app will no longer launch correctly (complaining about not being able to find the albums file). Upon doing this, the photoanalysisd process immediately stopped!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you don't use the Photos app on your Mac, I have found a possible solution. Delete the albums used by Photos app -- open finder and navigate to wherever your Photos album is stored (for me in ~/Pictures).
After deleting these albums, the Photos app will no longer launch correctly (complaining about not being able to find the albums file). Upon doing this, the photoanalysisd process immediately stopped!