The detection of coke deposition can be achieved through various methods. Physical inspections, such as scanning electron microscopy (SEM), can reveal the presence of carbon deposits on the catalyst surface. Additionally, changes in catalyst activity, pressure drop, and selectivity can also indicate the onset of coke deposition. Techniques like temperature-programmed oxidation (TPO) can be used to measure the amount of coke deposited on the catalyst.