Overview

Bought in 2023.

The $200 CV camera is a global shutter camera with an advertized 40° diagonal field of view (FOV) 8mm rectilinear lens (smallest FOV available).

Product webpage: https://hupuu.com/camera/1080p-2mp-global-shutter-color-usb-camera-module-yuy2-usb2.0-100fps-mjpeg?sku=UCB543-GS-L8N

Specifications:

Additional specifications found on manufacturer webpage.

Decision for purchase: 2022-2023 Camera Decision Matrix

Software

Usage

Plug the camera into a USB port of a computer.

The camera shows up as a camera device.

Test the camera with Python (e.g. https://docs.opencv.org/4.7.0/dd/d43/tutorial_py_video_display.html ), an application on the computer, or a webcam testing website.

The focus distance can be changed by rotating the lens along the threads of the lens holder.

Hardware

Lens FOV

For 8mm lens ordered with sensor:

Exact measurements below.

Note: There is some distortion in the lens (i.e. straight lines in the world appear slightly curved outwards).

image-20240314-082411.png

Measurement

Print and place square grid paper on flat surface.

Measure ratio of square side length to SI unit.

Plug the camera into computer and display the video.

Point the camera perpendicularly to the grid and ensure that grid is aligned with the edges of the video frame.

Change the distance of the camera from the grid so that there is a whole number of squares from left edge to right edge of video frame. Record the count.

Without moving the camera, measure the perpendicular distance from the grid to the closest end of the camera lens.

Estimate the focal point of the lens.

Calculate the horizontal field of view:

  1. Convert the horizontal distance to SI units:

    1. Horizontal distance in SI = Square count * (Square side length in SI units / Square side length in squares)

  2. Convert perpendicular distance to the same units as the horizontal distance

  3. Triangle ratio:

    1. Opposite over adjacent = Horizontal distance / 2 / Perpendicular distance

  4. Get the angle:

    1. Angle = arctan(Opposite over adjacent)

  5. Final answer:

    1. Horizontal field of view = Angle * 2

Calculate the vertical field of view:

  1. Follow steps 1-3 of horizontal field of view

  2. Multiply by ratio correction:

    1. Correction = Vertical resolution / Horizontal resolution

  3. Follow steps 4-5 of horizontal field of view

image-20240314-081048.png

Combined:

~37.178° = ~0.64889rad = arctan(18 * (13 / 23) / 2 / 15.125) * 2
~23.742° = ~0.41438rad = arctan(18 * (13 / 23) / 2 / 15.125 * (10 / 16)) * 2

Electrical

Input voltage: 5VDC

Power: 160mA (800 mW )

Mechanical

Weight

Physical Dimensions

Translation:

There is ~8.2mm from board to top of wire connector when the camera is plugged in (does not include wire attached to the connector). This can be reduced by removing the connector and soldering the wires directly to the board.

Ports and Wires

1 port on board opposite of lens direction. Wire continues in port direction (no bends or turns).

Operating Constraints

No operating constraints. Does not require active cooling.

Other

The lens holder is fixed focus adjustable S-mount (M12).

Reference Images