Technology behind detecting dog barks