Instead of applying a per-element heuristic (skip if value ≤ 50), identify pixel-scale rooms at the row level with WHERE EXISTS, then convert all elements unconditionally. Eliminates the risk of mixed-scale elements within the same room.
Instead of applying a per-element heuristic (skip if value ≤ 50), identify pixel-scale rooms at the row level with WHERE EXISTS, then convert all elements unconditionally. Eliminates the risk of mixed-scale elements within the same room.