The detection of keratinocyte cancers typically involves a physical examination of the skin, followed by a biopsy of suspicious lesions. Dermatoscopy and imaging techniques may also be used to evaluate the extent of the disease. Pathological examination of the biopsy sample confirms the diagnosis and helps in determining the cancer type and stage.