A semi-automatic method to determine the wood failure percentage on shear test specimens