Tablet and capsule inspection machine