With a monochrome sensor you choose the colour of the light to create contrast, and every pixel responds to it. Behind a colour filter array, a red LED is seen mostly by the red-filtered quarter of the pixels; here all 3840 px × 2160 px see it. Red light darkens green print, while shorter wavelengths scatter more and can make fine surface texture stand out. Pair the IMX334 with a narrowband light and a bandpass filter on the lens for an image that stays stable against ambient light.
The M12 lens must cover the 8.81 mm sensor diagonal (7.68 mm × 4.32 mm) and resolve the 2 μm pixels, about 250 lp/mm at Nyquist. An example 60 mm field gives 60 mm / 3840 px ≈ 0.016 mm per pixel.
Best for
Contrast-driven inspection under coloured LED light: print, coatings and surface marks where a chosen wavelength lifts the defect out of the background.
Small-field, high-resolution work such as component marks or solder joints: the example 60 mm field gives about 16 μm per pixel.
Open stations with changing ambient light, where a narrowband LED plus a bandpass filter on the lens keeps the image stable.
Selection notes
Pick an M12 lens made for the 1/1.8-inch format; one designed for 1/3-inch will darken the corners of this 8.81 mm diagonal.
Focal length for the 60 mm example field at 150 mm working distance: f ≈ 150 × 7.68 / 60 ≈ 19 mm (thin-lens approximation, example only).
Many M12 lenses have no filter thread, so plan how a bandpass filter is mounted, for example in a holder in front of the lens.
Specifications: General
Brand
Basler
Camera type
Area Scan Camera
Specifications: Sensor
Sensor manufacturer
Sony
Sensor model
Sony IMX334
Shutter
Rolling Shutter
Sensor size
1/1.8"
Horizontal resolution
3840 px × 2160 px
Pixel size
2 μm × 2 μm
Mono / color
Mono
Specifications: Performance
FPS
45 fps Calculate individual frame rate
Specifications: Interface
Interface
USB 3.0
Specifications: Optics
Mount
S-mount (M12)
Specifications: Electrical
Power
Via USB 3.0 interface
Specifications: Environment
Operating temperature
0 °C - 50 °C
Specifications: Mechanical
Housing material
Board Level
Weight
5 g
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
9 frame grabbers / interface cards are compatible with this camera.
Matched automatically by: card supports the camera interface (usb3 vision) · card link speed is at least the camera link speed (cxp-6 / cxp-12, 1–10 gige) — this camera: USB 3.0.
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
Choose by the contrast you need: light close to the colour of a feature brightens it, and the opposite colour darkens it. Test colours on real samples before fixing the lighting.
At the example 60 mm field a pixel covers about 0.016 mm, and a feature typically needs 3 to 5 pixels to be measured reliably, so roughly 0.05 mm to 0.08 mm.