Skip to content

#506 review laptop camera

William Smith requested to merge #506-review_laptop_camera into master

@prz.luca reviewed this work and made some changes.

I tried and it works. I did some changes though:

  • Add video_dev_index variable to setup the correct video device. In my case I have 2 cameras and in general the device 0 could not be the default one.
  • In the LaptopCam device, I think there's no need to connect to the camera with VideoCapture because the same function is called in stage.
  • I removed the last example on Ophyd Sim, because I think it's unrelated to the example the notebook is trying to show. Maybe we could make another notebook with Ophyd Sim examples?

I agree with all the changes and merge. This repo is still using master and not main and develop

Merge request reports

Loading