The problem I think is partly due to it being ran through a USB2, I just need the lag time for this to be reduced and for the device to stop crashing.
It seems to crash pretty quickly once a person is in front of the camera
The problem I think is partly due to it being ran through a USB2, I just need the lag time for this to be reduced and for the device to stop crashing.
It seems to crash pretty quickly once a person is in front of the camera
The script that I ran is the script that you sent, But I removed the replay feature from the oakcamera(replay=…) because that would only replay a video that was from the github.
after locale-gen command I get:
Generating locales (this might take a while)...
en_IL.UTF-8... done
Generation complete.
and then:
$ python3 -m depthai_viewer
2024-06-05T10:10:28Z WARN winit::platform_impl::platform::x11] Unsupported locale "en_IL". Restoring default locale "".
thread 'ThreadId(1)' panicked at 'Failed to open input method: PotentialInputMethods {
xmodifiers: Some(
PotentialInputMethod {
name: "@im=ibus",
successful: Some(
false,
),
},
),
fallbacks: [
PotentialInputMethod {
name: "@im=local",
successful: Some(
false,
),
},
PotentialInputMethod {
name: "@im=",
successful: Some(
false,
),
},
],
_xim_servers: Ok(
[
"@im=ibus",
],
),
}', winit-0.28.7/src/platform_impl/linux/x11/mod.rs:178
6: core::panicking::panic_fmt
at core/src/panicking.rs:72:14
7: winit::platform_impl::platform::x11::EventLoop<T>::new
8: winit::platform_impl::platform::EventLoop<T>::new
9: eframe::native::run::with_event_loop
10: eframe::run_native
Troubleshooting Rerun: https://www.rerun.io/docs/getting-started/troubleshooting
Here you go:
$ locale
LANG=en_IL
LANGUAGE=en_IL:en
LC_CTYPE="en_IL"
LC_NUMERIC="en_IL"
LC_TIME="en_IL"
LC_COLLATE="en_IL"
LC_MONETARY="en_IL"
LC_MESSAGES="en_IL"
LC_PAPER="en_IL"
LC_NAME="en_IL"
LC_ADDRESS="en_IL"
LC_TELEPHONE="en_IL"
LC_MEASUREMENT="en_IL"
LC_IDENTIFICATION="en_IL"
LC_ALL=
filipjeretina Omg! You're a lifesaver!!! That worked! Thank you so much!
filipjeretina Thank you! I will try this I'll get back to you.
alessia
Try setting backend to $Env:WGPU_BACKEND = "dx12"
or dx11.
cc @filipjeretina on additional info/troubleshooting.
Thanks,
Jaka
So it doesn't matter where they are in the files, they just need to be in a findable location and then pip installed.
Running it at 5 FPS seems to prevent it from crashing. I attempted to replicate what I did earlier but I could not replicate the viewing window spam sadly.
I just sent you the first email. I will continue to send emails with the additional videos. they are to large to send all at once, but all the videos will be in the same email chain.
Sounds great I can try that now, I will also send you some videos to show what is happening.
Hey, I wanted to let you know. I was working with the viewing window again today and after only about 45 seconds of operation, the program begins to "freak out". Basically, the image freezes, then after it starts to close and try to reload every window multiple times causing the screen to be unfunctional while they are moving around. Then it stops and reloads everything as if I just opened it, then it continues to go back to freezing before closing. This has made it nearly impossible to function with this interface. Can you please help? I am attempting to finish my work since I am expected to present at an international conference and would really like to show your equipment and technology to the highest degree. Please let me know any suggestions, or if you need any information from me.
Hi filipjeretina ,
Yes I checked the maual for my PC (ThinkCentre M83) and tried every usb 3 port. It works best with the front IO. The rear IO detects in DepthAI Viewer as USB 2.2 or 2.4 or 2.1 and crashes alsmost immediately
When I use the front IO it detects and shows me USB 2.8 and the other 2.7.
The port where it shows USB 2.7 works best (2nd front port), as it does not immediately crash. Only when there is something close to the camera.
All the others crash instantly.
This is the full documentation from start to finish:
Thank you!!