You asked
Does the lumix s5 ii or s5 iix have a better autofocus for close up shooting than the s5?
The site's catalogue has no Lumix S5 by that name. The closest are the Panasonic Lumix S5 II and the Panasonic Lumix S5 IIX, so the guide can't compare either one with the original S5.
Between the two, the guide can't name a winner for autofocus. Both pages list the same sensor (full frame, 24.2 megapixels), the same L-Mount and in-body stabilisation. The S5 II page calls it Panasonic's first full-frame body with phase-detection autofocus, but the S5 IIX page says nothing about autofocus, so the guide won't say the IIX focuses better or worse for close-up work.
For close-ups of people, the autofocus feature that counts most is eye detection, which current mirrorless cameras handle very well. The portraits guide explains why it matters for keeping eyes sharp at wide apertures.
For close-up and macro work, the lens often matters more than the body. Both cameras take the Panasonic Lumix S 24-105mm f/4 Macro OIS, the Panasonic Lumix S 70-300mm f/4.5-5.6 Macro OIS and the Sigma 70mm f/2.8 DG Macro Art. Pick the body on the other things you shoot, and pick the macro lens for the distances you need.
Written by Claude from this site's pages.
The answer changes if
- If you shoot mainly people up close: Which camera and macro lens are best for close-up portraits with eye autofocus?
- If you only care about macro, not portraits: Which Lumix S5 II or S5 IIX lens is best for close-up flowers and insects?
- If you also need fast action: How do the S5 II and S5 IIX compare for wildlife with subject detection?
Ask next
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.