Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OT2 camera feed streaming to YouTube #80

Open
sgbaird opened this issue Oct 16, 2024 · 4 comments
Open

OT2 camera feed streaming to YouTube #80

sgbaird opened this issue Oct 16, 2024 · 4 comments

Comments

@sgbaird
Copy link
Member

sgbaird commented Oct 16, 2024

@Neil-YL could you link the docs you found related to accessing the built-in camera?

EDIT: Based on info and link below, trying to stream to YouTube might render the OT-2 unresponsive. In this case, it might be better to simply wire the USB webcam into a separate RPi Zero 2 W (could be embedded within the OT-2), or use a separate camera altogether. Static images via an HTTP request are still an option (not quite as compelling as a video, but still quite functional in terms of seeing visual changes to the experimental setup).

@Neil-YL
Copy link
Contributor

Neil-YL commented Oct 16, 2024

Note: it only has a resolution 320x240px for video

Using the OT-2 Camera as a live feed webcam
The OT-2 camera is plugged into the Raspberry Pi through a USB cable. In order to establish a live feed camera for your OT-2 you will need to locate and upload the USB cable from the Raspberry Pi and you will need a USB extender for your computer. The cable for the camera only reaches the USB port on the Raspberry Pi which means you will not be able to directly plug the camera into your computer.
Here is an example USB extender:
image
Next you will need to access the rear electronics by following our support article: https://support.opentrons.com/s/article/Accessing-the-OT-2-s-rear-electronics

Once you have gained access to the rear electronics you will then see cable for the camera plugged into the Raspberry Pi USB port:
image

You will now plug this camera USB cable into your USB extender and then plug the USB extender into your computer. This will act as a normal Webcam for your computer which you will be able to use with webcam software available on your computer.

Link: https://support.opentrons.com/s/article/Using-the-OT-2-s-camera

@Neil-YL
Copy link
Contributor

Neil-YL commented Oct 16, 2024

trying to stream to YouTube might render the OT-2 unresponsive

I believe it says it could be unresponsive when taking (saving) photos.
The streaming function suggested in this article is to remove the the camera from the OT-2 RB controller and connect it directly to the computer to host the streaming

@sgbaird
Copy link
Member Author

sgbaird commented Oct 16, 2024

Agreed. Adding a second RPi and maybe even just using a separate camera might be better

@Neil-YL
Copy link
Contributor

Neil-YL commented Oct 16, 2024

If it only supports 320x240px for video(not sure the limitation is on controller end or camera end), using a separate camera might be a better option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants