-
Notifications
You must be signed in to change notification settings - Fork 7
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
Contrast #16
Comments
As far as I can tell Pylon 5.0.12 does not let you set contrast values, and as such this plugin does not have this functionality. |
Just curious, where do you check if pylon supports certain functions or not? |
The pylon redist comes with header files and docs that describe all available functions. If it's not there, it's usually a sign that it's not available. The docs you linked seem to be from Pylon 6.0, but as far as I can tell it's only available for Windows right now. |
I do agree with you that contrast doesnt exist for Pylon 5.0.12 in C. But the docs do show contrast settings in C++. Is there a reason why we can't use C++? |
gstreamer plugins are written in C using gobject etc libs. It might be possible, but I suspect gobject won't play well with C++, if at all. I don't know if they're suitable for your use case, but AppSrc plugins can be written in C++, and there's one for pylon available here https://github.com/MattsProjects/pylon_gstreamer |
Ah, looking at the docs again, I guess I missed the struct entries the first time because the doc search they have is broken (had to grep for them). Yeah, you should be able to add it by just adding the instructions to set BslContrast, i.e. for BslContrastMode, you'll need You'll need to check for the features first using |
Just to make sure i'm on the same page, are you looking at docs in |
I use the C++ docs to look at the classes, i.e. |
how do i go about troubleshooting the camera? I'm using a dart and i implemented the contrast. The camera doesnt seem to be throwing any error, but contrast also isnt changing as expected. |
Does it change at all? Does it change properly using the Pylon viewer app? How different are the results you get from the viewer app and gstreamer video output? |
it doesnt change at all, when pull the parameter
when i adjust contrast in the viewer it does change the output 0->.22 results in a brighter image. |
What does |
it returns true.
|
Hm, this is really weird. I've never seen a situation where it fails to set a value without an error message like this. And without a camera there's very little I can do myself to test it. Sorry I couldn't be of more help :( |
so i'm also trying adjust saturation. The doc says that saturation is only available for YCbCr422-8 or RGB8 format. I'm using YCbCr422-8 but when i check to see if saturation is available it returns false. |
Does it happen if you set the correct format in pylon viewer, then stop it from streaming without disconnecting the device (close the viewer) and run the plugin? All active settings are saved in camera's RAM (at least ace's were), so if you set something up in the viewer the settings should carry on to the output of the plugin as well (as long as the plugin doesn't overwrite them, which it does for some settings). |
I can't run gstreamer plugin while device is still connected to pylon viewer. It looks like the default pixel format is YCbCr422-8, so i dont understand why i can't set saturation. It looks like like none of the settings is saved in RAM for this camera. I'm trying to get in touch with basler, maybe they can help me debug their own hardware |
The viewer should have an option to stop streaming (disconnect) that should
let you use the camera using gstreamer.
Let's hope Basler can sort this.
…On Wed, 12 Feb 2020, 23:23 Steven Chiu, ***@***.***> wrote:
I can't run gstreamer plugin while device is still connected to pylon
viewer. It looks like the default pixel format is YCbCr422-8, so i dont
understand why i can't set saturation. It looks like like none of the
settings is saved in RAM for this camera. I'm trying to get in touch with
basler, maybe they can help me debug their own hardware
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#16?email_source=notifications&email_token=AAG75BVTG3BQ6COTWQ24E63RCRSD5A5CNFSM4KSUBTLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELSN2VI#issuecomment-585424213>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG75BT23YQTPI7UE5S7LOLRCRSD5ANCNFSM4KSUBTLA>
.
|
Hi there, |
Hi Matt, Thank you for helping me out. But I still can't get saturation to work. |
Hi Steven, |
How do i adjust contrast?
Do i need to add it myself?
The text was updated successfully, but these errors were encountered: