Hello Team,
I am new to use this kit. we have run "demo_depthai.py" file. FPS is very slow. Can you tell me file name or configuration to change?
Hello Team,
I am new to use this kit. we have run "demo_depthai.py" file. FPS is very slow. Can you tell me file name or configuration to change?
Hi SwapnilBhole
What do you mean by slow. Can you share some images of the demo?
Disabling Neural Network should increase the FPS. Also, maybe test the ethernet bandwidth.
Thanks,
Jaka
jakaskerl I have run poe_test.py & run
Connecting to 169.254.1.222 ...
mxid: 18443010F15F9D0F00 (OK)
speed: 10 (FAIL)
full duplex: 1 (OK)
boot mode: 3 (OK)
I have use CAT-8 cable, CAT-6 cable. Both are quality cable. I am using TP link Gigabit PoE switch. (5-Port 10/100 Mbps, Model No: TL-SF1005LP)
Suggest solution for same.
Hi SwapnilBhole
The POE switch seems to be the bottleneck as you are only getting 10Mbps bandwidth. I'd start with that.
Thanks,
Jaka
Can you please share recommend POE switch links?
So, I can buy that.
Hi SwapnilBhole
Since you are going with TP link, perhaps this one. It features gigabit connection on all five POE ports. (NOTE: your previous one had 10/100 Mbps, this one has 10/100/1000Mbps <---- this is what you are looking for). You can also go a step further and get a 2.5Gbps or 5Gbps switch, which would allow more bandwidth, meaning more FPS at higher resolutions.
Also, the PC/host you are using MUST have a RJ45 port that supports the bandwidth (you can check that on the motherboard or laptop model) otherwise it will bottleneck the connection. Most newer machines come with 1gbps.
Thanks,
Jaka
jakaskerl Please suggest other POE switches also.
Which 8 pin connector can you suggest to power up & take GPIO cable signal ?
Please provide links
Hi SwapnilBhole
Here are the general guidelines for powering a POE device. When looking for a switch, check whether it says 10/100/1000. This will ensure it supports gigabit connection. Any switch that has that will be ok.
As for 8 pin, use the one that came with your OAK-D-PRO POE.
Thanks,
Jaka
we are thinking to buy NETGEAR GS108LP. Datasheet link
https://www.netgear.com/in/media/GS108LP_GS108PP_GS116LP_GS116PP_DS_16Jul19_tcm165-83933.pdf
Can you please check this once? Is it ok or not ok?
Hi SwapnilBhole
Yes, should be fine. It has 1Gbps bandwidth and a pretty powerful POE.
Thanks,
Jaka
we do not require 8 port. below is updated module.
Netgear GS305P
Datasheet link:
https://www.netgear.com/images/datasheet/switches/300-Series_PoE_Gigabit_DS.pdf
Can you please check this once? Is it ok or not ok?
Hi SwapnilBhole
Yes, it's fine.
Best,
Jaka
Hi jakaskerl,
I have two different OAK devices: an OAK-D USB3 and an OAK-D Pro POE. When I run my pipeline with the first device, I receive 26 FPS. However, when I run it with the second device, the frame rate drops to less than 10 FPS. I am using yolov6n-coco640x640 and ObjectTracker to track and count people.
I have connected my OAK-D POE to my PC using a Cudy 30W Gigabit POE/POE+ Injector model POE200, which supports up to 1000 Mbps Ethernet, and CAT 7 cable. I connected my OAK-D with a USB3 cable.
When I run poe_test.py, I receive good performance, like in the image below:
Also I tried to run this simple code with both devices,
from depthai_sdk import OakCamera
with OakCamera() as oak:
color = oak.create_camera('color')
oak.visualize(color.out.main, fps=True)
oak.start(blocking=True)
The OAK-D USB3 yielded an average of 30 FPS, while the OAK-D Pro POE only achieved around 3 FPS.
I'm not sure how to proceed or what steps I can take to resolve these issues. I would greatly appreciate any tips or suggestions you can provide.
Thank you.
Hi jakaskerl
I use a CAT 7 RJ45 cable (600MHz) witch is up to 10 Gbps.
Could you provide me with some detailed information about these adapters?
I am seeking alternative methods to verify the configuration of my POE-cam. Are there any other tools or techniques you would recommend. I'm not sure what about this discrepancy in the FPS speed between the Oak-D and Oak-D POE cams
Thanks a lot!
Hi Irena
The UTP cable is more than capable of carrying speeds needed for optimal depthai communication. The problem is (probably; this is what I wish to know) the motherboard of your computer. The motherboard has a chip specifically designed to process network traffic. If the chip only supports up to 100Mbps bandwidth, then this will create a bottleneck for the whole network pipeline.
For example, I'm running a 10y/o laptop which only supports speeds up to 100M. I have it connected to the poe switch (1000M) using cat5e cable (1000M). The most I can get out of the network is 100M as my laptop is the limiting factor.
You can buy a network adapter which can be connected to your PCI-e slot on your motherboard (same type slot as the graphics card) if you own a desktop PC --> means your PC is modular and upgradeable.
FPS - bandwidth calculations: https://docs.luxonis.com/projects/api/en/latest/tutorials/low-latency/#bandwidth
Can you check what network speeds your motherboard supports?
Thanks,
Jaka
Hello @jakaskerl,
Thank you for your prompt reply.
You are correct, my network speed is 100 Mbps.
Therefore, I would like to inquire if you believe that this is the cause for obtaining only 3 FPS when running the viewer code (specifically for viewing the colour camera) with the POE cam. I still have doubts regarding whether this issue is also related to a bottleneck.
Thank you once again for your assistance.
Hi Irena
I only suggested bandwidth since it's the most probable issue, but it really depends on the amount of data you are trying to send to your host machine. You can either try to calculate the bandwidth requirements using above link or you can try lowering the resolution of the frames you are trying to send through. I believe that since you stated
Irena (specifically for viewing the colour camera)
it should probably be bandwidth since color at same resolution uses 3 times as much bandwidth as mono (RGB vs G).
Can you try using cam_test.py to ensure it is not the viewer that's causing low fps?
Thanks,
Jaka
Hi @jakaskerl
I just sent you the config pram when I run cam_test.py...not sure if is it ok.
After connect with OAK-D PRO POE cam, here the results:
Connected cameras:
-socket RGB : IMX378 4056 x 3040 focus:auto - COLOR
-socket LEFT : OV9282 1280 x 800 focus:fixed - MONO
-socket RIGHT : OV9282 1280 x 800 focus:fixed - MONO
USB speed: UNKNOWN
IR drivers: [('LM3644', 2, 99)]
Cam: rgb left right camd [host | capture timestamp]
FPS: 2.24| 2.81 2.23| 2.89 2.25| 2.90 0.00| 0.00 [19443010C1C3741300] [169.254.1.222] [9.114] [ColorCamera(8)] [error] Camera not detected on socket: 3
This are OKA-D cam results:
Connected cameras:
-socket RGB : IMX378 4056 x 3040 focus:auto - COLOR
-socket LEFT : OV9282 1280 x 800 focus:fixed - MONO
-socket RIGHT : OV9282 1280 x 800 focus:fixed - MONO
USB speed: SUPER
IR drivers: []
Cam: rgb left right camd [host | capture timestamp]
FPS: 14.22| 14.29 14.12| 14.06 14.12| 14.06 0.00| 0.00
Thanks once again!