catch in the act vs detect

catch in the act

detect

verb
  • To discover or find by careful search, examination, or probing. 

  • To work or solve cases as a detective. 

How often have the words catch in the act and detect occurred in a corpus of books? (source: Google Ngram Viewer )