Tigerwillow,
I've had luck using several targets for focusing a lens.
- leaves on a tree at medium distance. When not in focus, the leaves get blurry pretty quickly.
- venetian blinds on the windows of our lab had contrast (slats partially open). A crisp edge of the slats was my target. Or the holes that contain the string for raising/lowering the blinds.
- An optical target, made for focusing (google it), pinned on a wall at a medium distance. Then use the zoom feature in Live View . Zooming in seemed to magnify any blurriness due to out-of-focus.
What's also important is to not have "slop" in the lens-to-threaded-housing interface. If it's snug, then twisting for the focus operation requires a little effort to overcome friction. This ensures the lens stays in place after you twist the lens to focus. You
do not want the lens to move at all when you go to lock down the lens.
I use a few dabs of silicone. It's strong enough. You don't need to use epoxy to replace the epoxy you picked off to do the focusing. Your cam isn't going on a long, vibration filled trip to go to China on a ship or plane....
Don't forget cleanliness. Micro fiber cloth to clean lens and cam window.
Fastb
Check this thread:
Dahua 4MP 25mm LPR Modification