I was thinking of using different ports/instances for different cameras, as if you have multiple cams triggering at the same time they currently all rely on the one instance.It would be interesting to see some benchmarks with different systems, running two instances
Because if with one instance it takes 100ms and with two takes 200ms, you have gained nothing...
It also depends on what number format it uses. NNs with multiple layers eat the binary precision. Also models must be re-quantized for each alternative format to give any result. So the TPU may be quick and low power on INT8 and FP16 but may not be able to supply the required precision. The precision will be worse anyway after re-quantization to lower word length. Desktop CPUs have a big advantage from high word length FP formats.I'd like to see Coral TPU vs CPU alone plus I'd like to see some improvements to it's tuning as I gather it's not particuarly quick atm with CPAI yet with the amount of TFLOPS it has, you'd expect to see a big improvement. We also need to see it integrated to windows as I understand its on Linux only for CPAI.
You could always Clone your Camera...Just be sure and check off your Clone master and uncheck any Cloned CAMsI see that there is a Instances Box for Codeproject in BI.
Can we have more than 1 running like with could with deepstack?
Mine is greyed out.
How can we enable more than one with a different port? If possible?
Thanks
chatgpt told me this? Was easier with deepstack, just entered 2 port numbers.
Thanks yes that is one option. I do have one cloned at the moment. I see you have mainstream ticked. Does this make any difference apart from increasing the inference speed? I always understood subs should be used for ai.You could always Clone your Camera...Just be sure and check off your Clone master and uncheck any Cloned CAMs
View attachment 166481
I have a Clone of this CAM to capture Delivery Vehicles:
View attachment 166482View attachment 166483
When Done right you will see no Bitrate from your Cloned CAM:
View attachment 166484
I am sure it would speed up things by using Substreams but I get around 70ms on a 970 4gig card which presently works for me. If I add more CAMs I will probably look at Subs.Thanks yes that is one option. I do have one cloned at the moment. I see you have mainstream ticked. Does this make any difference apart from increasing the inference speed? I always understood subs should be used for ai.
Same card as mine gtx970?I am sure it would speed up things by using Substreams but I get around 70ms on a 970 4gig card which presently works for me. If I add more CAMs I will probably look at Subs.
View attachment 166485
Mike has us all beat with his 4090...Same card as mine gtx970?
Good to know. Thanks
Ah yes I remember we talked about our cards David. Fast for its age.Mike has us all beat with his 4090...
CodeProject.AI Version 2.0
I find Object Detection (YOLOv5 .NET) works the best. You can test it your self by using Explorer like the below screenshots. Just remember you can only have one Object Detection module enabled at a time. Thanks, it's the same on my PC. .NET version with DirectML runs 1.5x faster than 6.2...ipcamtalk.com
I have a 3080 for my Gaming, I will not give it up for AI
I have the motion trigger box ticket as I thought this was the way to set it up.You could always Clone your Camera...Just be sure and check off your Clone master and uncheck any Cloned CAMs
View attachment 166481
I have a Clone of this CAM to capture Delivery Vehicles:
View attachment 166482View attachment 166483
When Done right you will see no Bitrate from your Cloned CAM:
View attachment 166484
I have mine turned Off on my CAMsI have the motion trigger box ticket as I thought this was the way to set it up.
Is this correct
View attachment 166492
Using main stream does not get you anymore accuracy it just slows down the detection because the AI models are trained at a resolution of 640 x 640 and before the image goes through the detection the image needs to be resized to be no greater then a resolution of 640 x 640. The higher the resolution the longer it takes to do this resizing.I added DoNotCancel and put 999 in the + real=time images. trigger time is set at 10 seconds with 250ms snapshots so that is fine I believe. Still tweaking.
Love the .dat file for the analysis in the BI window!! really useful info.
Added main streams and ticked the box -The gtz970 still works them fast.
OK good to know thanks.Using main stream does not get you anymore accuracy it just slows down the detection because the AI models are trained at a resolution of 640 x 640 and before the image goes through the detection the image needs to be resized to be no greater then a resolution of 640 x 640. The higher the resolution the longer it takes to do this resizing.
Using main stream does not get you anymore accuracy it just slows down the detection because the AI models are trained at a resolution of 640 x 640 and before the image goes through the detection the image needs to be resized to be no greater then a resolution of 640 x 640. The higher the resolution the longer it takes to do this resizing.
Doesn't that defeat the purpose of the substream?That's interesting and throws up a flaw in the system. Many set sub streams at much higher resolutions than 640 x 640 these days because they use BVR recording as well a triggered recording.
eg. I run my sub stream at full hd ie 1920 x 1080 and 4,000kbs because my sub stream is recorded as BVR not just observed. The main is at 4k and 16,800kbs.
Doesn't that defeat the purpose of the substream?
Same specs as the default main.
Basically you are modifying the sub to the same specs as the main
Your sub is more than my mainThe specs are not the same as the main:
My Sub: Full HD (1920 x 1080) @ 4,000 kbs.
My Main: 4K (3840 x 2160) @ 16,800 kbs.
The sub is 1/4 the main in both resolution and bit rate.
4,000KBS would be low btw for a 4K camera anyway as a baseline. I'm sure most would recommend around 10,000kbs @ 4k. 16,800 is high and probably could be dropped a little, but I'm trying to extract the maximum quality as even with those bit rates and recordings, I can get around a month from a 4tb hard drive and that includes the sub being recorded BVR so 24/7 continuously on both cameras. Maybe not for everyone, but for someone with only a few cameras (or a larger hard drive), not an issue.