のに気がついた

noticed that

→ の
phrase Rare #26,627
noticed that Follows a clause to say that someone noticed or became aware of what it describes. Here, のに is not the contrastive expression meaning “although.”
JA: 彼が帰ってきたのに気がついた。
EN: I noticed that he had come home.

私は彼女が新しい眼鏡をかけているのに気がついた。

I noticed that she was wearing new glasses.

彼は私のいるのに気がついた。

He noticed that I was there.

部屋の奥で何か音がするのに気がついた。

I noticed a noise coming from the back of the room.