Skip to content

Commit

Permalink
update:usb camera demo增加参数
Browse files Browse the repository at this point in the history
  • Loading branch information
doudouladou committed Mar 4, 2025
1 parent 7d792b2 commit 99b2769
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/camera/usb_cam/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ local camera_id = camera.USB
local usb_camera_table = {
id = camera_id,
sensor_width = 1280,
sensor_height = 720
sensor_height = 720,
usb_port = 1
}

camera.on(camera_id, "scanned", function(id, str)
Expand Down

0 comments on commit 99b2769

Please sign in to comment.