An aerosol generating apparatus is provided. The apparatus comprises a chamber configured to receive an article comprising an aerosolisable medium, a sensor arrangement configured to detect a first marker arrangement on the article and a second marker arrangement on the article. The second marker arrangement is located at a predetermined position relative to the first marker arrangement. The apparatus further comprises a controller, configured to determine a plurality of comparison values by comparing a plurality of first marker regions in the first marker arrangement with the second marker arrangement, and determine data associated with the article based on the plurality of comparison values.提供一種霧劑生成設備。該設備包含經組配為可接收包含一可霧劑化介質之一物品的一腔室,經組配為可偵測在該物品上之一第一標記配置與在該物品上之一第二標記配置的一感測器配置。該第二標記配置相對於該第一標記配置位在一預定位置。該設備進一步包含一控制器,其經組配為藉由比較在該第一標記配置中的複數個第一標記區域與該第二標記配置可決定複數個比較值,且基於該等複數個比較值來決定與該物品相關聯的資料。