Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
cam.init() function is not found.
cam.open() works.
  • Loading branch information
iskwmsy authored Jun 9, 2024
1 parent 4c5054e commit a84a0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const cameras = await detectCameras()

const cam = cameras[0]

await cam.init()
await cam.open()

await cam.get('model')
// -> 'Lumix S5'
Expand Down

0 comments on commit a84a0a2

Please sign in to comment.