A detector that is intended to detect a pig inside the pipeline or pig receiver.