Card detection

Table approximation

Cell refinement

Cell content detection