The question for this version is whether an M12 lens can feed a 4K sensor. The IMX334 measures 7.68 mm × 4.32 mm, an 8.81 mm diagonal, and its 2 μm pixels call for a lens resolving about 1 / (2 × 0.002 mm) = 250 lp/mm to use all 3840 px × 2160 px. Many M12 lenses are made for 1/3-inch or smaller sensors and show vignetting or soft corners on this 1/1.8-inch chip, so choose one made for that format and ask for its resolution at the field edge.
Over USB 3.0 the throughput depends on pixel format. At 8 bit and 45 fps the stream is 3840 × 2160 × 8 × 45 ≈ 2.99 Gbit/s, and 12 bit would be ≈ 4.48 Gbit/s. The link is nominally 5 Gbit/s, but 8b/10b encoding leaves about 4 Gbit/s before protocol overhead, so a 12-bit stream will run below 45 fps. Use 8 bit when full speed matters and confirm other rates with the manufacturer's frame-rate calculator.
Best for
Compact 4K colour imaging with catalogue M12 lenses, for example appearance checks on small products where a custom holder is not worth the effort.
Wide fields at useful resolution: an example 300 mm wide field at 3840 px gives 300 mm / 3840 px ≈ 0.078 mm per pixel.
Machines that start each capture from a line sensor: hardware trigger is available, and four general-purpose I/O lines carry the trigger and strobe signals.
Selection notes
Focal length for a given field: to see a 300 mm wide field from about 400 mm, f ≈ WD × sensor width / field width = 400 × 7.68 / 300 ≈ 10 mm (an example, thin-lens approximation).
Two cameras at 8 bit and 45 fps need about 2 × 2.99 ≈ 5.97 Gbit/s, more than one USB 3.0 controller carries, so spread several cameras over separate host controllers.
For measuring edges, the mono daA3840-45um (S-Mount) is the better start: the colour filter array costs some sensitivity and a little sharpness.
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
Color
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
An M12 (S-mount) thread. The sensor is 1/1.8-inch, 7.68 mm × 4.32 mm, so choose a lens that covers an 8.81 mm diagonal.
No. There are no dedicated digital inputs or outputs; the four general-purpose I/O lines carry trigger and strobe signals. On board-level cameras these are typically low-voltage rather than 24 V industrial levels, so check the electrical levels before wiring a trigger sensor.