At 8 mm this lens frames tighter than the 6 mm C125-0618-5M from the same 100 mm minimum working distance. A thin-lens estimate gives 8 ÷ (100 − 8) ≈ 0.087, so a typical 5.7 mm wide 1/2.5" sensor covers 5.7 ÷ 0.087 ≈ 66 mm and each 2.2 µm pixel about 2.2 ÷ 0.087 ≈ 25 µm, against 89 mm and 34 µm for the 6 mm model. At an example 200 mm the field widens to 5.7 × (200 − 8) ÷ 8 ≈ 137 mm at about 53 µm per pixel.
With 2.2 µm pixels the Nyquist limit is 1 ÷ (2 × 2.2 µm) ≈ 227 lp/mm. At close range the working f-number is N × (1 + 0.087), so F5.6 acts as 6.1 and keeps a cutoff of 1 ÷ (0.55 µm × 6.1) ≈ 299 lp/mm, while F8 acts as 8.7 and falls to ≈ 209 lp/mm, below Nyquist. Work between F1.8 and about F5.6 and let lighting supply the exposure.
Best for
Small PCBs, connectors or labels that fill a 66 mm field, where 25 µm per pixel resolves a 0.2 mm feature across 200 ÷ 25 = 8 px.
Print legibility and OCR checks: characters 1 mm tall span 1,000 ÷ 25 = 40 px, well above the 20 or so pixels OCR tools typically want.
Small parts moving past the camera on a line, where the F1.8 maximum aperture keeps exposures short and the lamp modest.
Selection notes
A sensor larger than 1/2.5" shows dark corners. At 100 mm, 1 mm of part height shifts the scale by about 1 ÷ 92 ≈ 1.1 %, so gauging needs flat parts or more distance.
For more standoff at the same field, the 25 mm C125-2522-5M frames 66 mm from 25 × (1 + 65.5 ÷ 5.7) ≈ 312 mm, against 100 mm here. It gives up light (F2.2 against F1.8) and cannot focus closer than 200 mm.
No IR-cut filter is fitted, so a color camera without its own cut filter shows an infrared cast under lamps that emit near-infrared.
Specifications: General
Brand
Basler
Specifications: Optical
Focal length
8 mm
Aperture (f-number)
F1.8 - F22
Optical resolution
5 MP
Lens mount
C-mount
Image circle / max sensor
1/2.5"
Working distance
100 mm minimum
Telecentric
No
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
Matched automatically by: camera mount fits the lens mount · camera sensor is covered by the lens image circle — this lens: C-mount · 1/2.5" image circle.
Get a first image quickly with the pylon Viewer, then move into the pylon SDK for your application. These cameras are GenICam/GenTL-compliant, so any compliant vision software can drive them as well.
Download and install the pylon Camera Software Suite for your OS from Basler. This provides the pylon Viewer, the GenTL transport-layer producers and the pylon SDK (C/C++/.NET/Python). On Windows the installer adds the needed drivers; on Linux follow the included setup notes for USB and network permissions.
2. Connect the camera and check the link
Cable the camera to its matching interface: GigE Vision to a GigE port (use a quality cable and, ideally, a dedicated NIC with jumbo frames enabled), USB3 Vision to a USB 3.x port with the supplied cable, or CoaXPress to the frame grabber. Provide power where required (PoE, USB bus power, or PoCXP). Open the pylon Viewer and confirm the camera appears in the device list; for GigE, make sure the camera and NIC are on the same subnet.
3. Grab a first image and set exposure, gain and pixel format
Select the camera in the pylon Viewer and start a continuous grab. Adjust exposure time and gain until the image is well exposed (avoid clipped highlights), set the pixel format (e.g. Mono8 or a Bayer/RGB format), and focus the lens. Use a test pattern if the lens or scene is not ready yet.
4. Configure triggering and acquisition
Decide between free-run and triggered acquisition. For synchronized capture, set the trigger source (software or a hardware line on the I/O connector), trigger mode and any debounce or exposure mode, then verify timing. Note the parameter names you change in the Viewer feature tree, as you will reuse them in code.
5. Move to the SDK or a GenICam-compliant library
Recreate your settings in code with the pylon SDK (C, C++, .NET or Python) to open the device, apply the same features and pull frames into your pipeline; pylon vTools and pylon AI can add processing blocks. Because the cameras are GenICam/GenTL standard, third-party vision libraries work too. Once the image stream is stable, you can route frames to a deep-learning inspection such as Rosepetal for automated defect detection.
Frequently asked questions
You gain depth but lose detail. With a one-pixel (2.2 µm) blur criterion, depth at 100 mm is 2 × 16 × 0.0022 mm × (0.087 + 1) ÷ 0.087² ≈ 10 mm at F16 against ≈ 3.5 mm at F5.6, but the F16 cutoff falls to about 105 lp/mm, under half the Nyquist limit.
At the same 100 mm it samples at 25 µm instead of 34 µm per pixel and frames 66 mm instead of 89 mm. For the 89 mm field this lens needs about 133 mm.