-sa: Set image saturation (-100 to 100).-usestills: uses stills mode instead of video mode.-quality: set JPEG quality (0 to 100), default 85.-y or -height: height of frame capture, default 480.-x or -width: width of frame capture, default 640.-fps or -framerate: set video framerate, default 1 frame/sec.That should be everything that needs to be changed in this file but you do have additional options like: USB Webcam Options What I find as the best practice when setting the framerate and resolution for a new camera is to gradually increase one at a time until the camera stops working then back down the setting to the previous.įor me and my Logitech C920 things work best when set to: The worst that will happen is your camera feed will stop working and you will have to rollback a setting.Ī good starting point is the camera compatibility chart found here as it provides some configurations that have worked for others.īefore we start changing anything I just want to point out again that you are not going to break anything here so do not be afraid. If you are using a Raspberry Pi Camera you will want to focus on the camera_raspi_options which will be similar but you should also review the full list of options with descriptions here.īoth the resolution and framerate options can be a bit hit or miss and require some trial and error but it is important to know that you are not going to break anything here so you are free to try options. This setting is regardless of what kind of camera you are using but since I am using a USB webcam I am going to focus on that from here on out. Setting Resolution and Framerateīy default, the camera connected to your Raspberry Pi (or other device running OctoPrint) is configured to a resolution of 640×480 at 10 frames per second. One thought I did have about this setting however is that it could be useful if you had both a Raspberry Pi Camera and a USB Webcam connected although I have not tried this so do not know exactly how the system would work. The OctoPrint frontend has some very basic yet powerful controls over your webcam and thus should be the starting point for anything you do. Camera Configuration in the OctoPrint Frontend Had I known then what I know now about just what we can tweak with cameras in OctoPrint I most likely would have stuck with the Raspberry Pi Camera as it would have done everything I needed it to do and had so many more mounting options on my Monoprice Maker Select Plus.Ĭamera selection aside as I said it really is all just personal preference, what will make the real difference is coming when we dive into settings and start aligning out OctoPrint settings to our camera properties. I had originally started off with a Raspberry Pi Camera and then eventually moved on to a Logitech C920. If you want a bit of guidance however you can always consult the list of cameras known to work with OctoPrint here. Last update on / Affiliate links / Images from Amazon Product Advertising API Luckily there really is no wrong answer and it just comes down to personal preferences and aesthetics. These options range from one of the Official Raspberry Pi Cameras which will connect via a ribbon cable directy to the Raspberry Pi board to any of the myriad of USB webcams. When it comes to cameras to use with OctoPrint there is no shortage of options. Because of this, I thought I would try my best to summarize what I had found and updated to the latest version of OctoPrint in an effort to perhaps save some of you some time. With updates to OctoPrint, a lot of information has changed and most of the information on this subject has not evolved. When I started looking into just what could be done to optimize cameras in OctoPrint I found that much of the information available was either outdated or a raw data dump that was not easy to read (or act upon) for most users. People do this without even considering that settings could be tweaked to make the video captured by these cameras better. Most people that I talk to in the various 3D Printing communities I am a part of simply plug in a Raspberry Pi Camera or USB Webcam and run with it. Aside from an easy to use interface and the potential for remote control over your 3D Printer, having a camera to watch over your 3D Prints is one of the major benefits to OctoPrint and often a driving factor for setting the system up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |