patched feature detecting