Layout detection framework for DirectX11 applications. Serves currently as a concept document.
OK NEW CONCEPT MY DUDES:
- Feature Match
- If distance is high enough, template exists
- Template match
- Template match with scaling
- MASK ALGORITHM
Extremly professional concept art

// All scenesscenes: [// Single scene object{// Name of the scenename: 'foundry',// Children objectsobjects: [// Single children object{name: 'item',// Name of the objecttemplate: 'foundry_item.jpg',// Template imagemask: 'foundry_item_mask.jpg',// Mask of the template// This could theoretically be made out of the transparent zone in the templatestates: [// States the item has{// Single state // Still not sure about this section// Could be done with templates, or params, or bothname: 'building',// item.buildingconditions: [// Conditions to meet{function: 'ocr',match: 'BUILD',params: [280,80,300,100],},
...
],}],},
...
],},
...
],