-
Notifications
You must be signed in to change notification settings - Fork 234
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
Depth color JET range only shows dark/light blue #39
Comments
I assume COLORMAP_HOT has a similar issue. I get pretty much just solid red for everything. |
Thanks. So I'm guessing there must be some range setting to calling this conversion that should help. Looking now. |
OK, yes, it's just a range thing. So changing this line here to Note that I've done some bending/etc. to my board (accidentally) so the calibration isn't as good as it could be. But you can still see this is a bit more of an appropriate range for the 1097. This probably is a terrible actual solution... but it gives a quantification of about how far off the current range is. Thoughts? |
Interesting, thanks @Luxonis-Brandon . I had looked at that line a few times but convinced myself it was correct given the uint16 input. If I change that line to |
Got it. So we recently added a functionality to make this not happen. The reason it happens is the host gets overwhelmed and can't keep up with the frame output from the Myriad X. So to solve that we implemented the capability to specify on the host side what the Myriad X should output in terms of FPS. I don't know if this is in Master yet, however. Let me look. |
Not clear to me yet @chris-piekarski . So here's the code I'm looking at:
|
And here's the commit: Need to run now but will look more into this soon. |
Nice. I will try that PR now. |
@chris-piekarski - |
could only get the previewout stream to work for me on that PR @itsderek23. The depth stream options never show up and throw a != null assertion exception when I force close it. Same issue if I go back to the commit Brandon called out. I'll just wait until you say its stable :-) |
Ah sorry Chris ... we'll loop back as we get #38 sorted out.
…On Tue, Mar 3, 2020 at 3:07 PM Christopher Piekarski < ***@***.***> wrote:
could only get the previewout stream to work for me on that PR @itsderek23
<https://github.com/itsderek23>. The depth stream options never show up
and throw a != null assertion exception when I force close it. Same issue
if I go back to the commit Brandon called out. I'll just wait until you say
its stable :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAB5SCR7WEQK2E5WJVJ3JLRFV5Q7ANCNFSM4LAL527A>
.
|
So the depth stream not working turned out to be a loose flex cable on the right camera @itsderek23. I have had it slightly pop up a few times now. Oh and the |
Ah ... I ran into this one with a bad connection as well. Remind me again what model you are using @chris-piekarski? PS - Added an issue to create a troubleshooting entry for this. |
Yes, thanks @chris-piekarski - that's the main hardware issue we're seeing so far. We're wondering if we need to stake the camera connection down on future units. What happened to us is we would accidentally grab the board by that location, which would push the flex down and pop out the connector. I caught myself doing it once. And @itsderek23 I happen to know, @chris-piekarski has the BW1097 (RPi Compute Module Edition). |
Great. Noted in luxonis/depthai-docs-website#29 (comment). |
So as an update on this, using JET on disparity (instead of actual depth data) produces an better visualization. So this can now be done using The So with this Since the Pi still does struggle even w/ 27MB/s over USB, we added the capability to limit the framerate, which helps to prevent the Pi from getting overwhelmed. Using 10FPS usually helps:
And see more details here: https://docs.luxonis.com/faq/#how-do-i-display-multiple-streams |
The color JET range in
test.py
is only showing dark/light blue.The range needs to be changed for the JET display to show yellow, red, and green.
/cc @Luxonis-Brandon
The text was updated successfully, but these errors were encountered: