Alarm, nothing found

Post Reply
mpl
Posts: 7
Joined: Fri Jan 12, 2024 6:52 am

Alarm, nothing found

Post by mpl »

Hello,

Iv try to enable CP AI, but iv got "nothing found" in my Alarms.

On static analys you see that the AI Server works. I have try several versions of the AI Server from 2.0.8 to 2.7

Can someone Help me?
Screenshot_2024-01-12-07-46-49-736_com.microsoft.rdc.androidx_copy_1023x460.jpg
Screenshot_2024-01-12-07-46-49-736_com.microsoft.rdc.androidx_copy_1023x460.jpg (241.48 KiB) Viewed 72426 times
Screenshot_2024-01-12-07-45-58-827_com.microsoft.rdc.androidx-edit_copy_807x969.jpg
Screenshot_2024-01-12-07-45-58-827_com.microsoft.rdc.androidx-edit_copy_807x969.jpg (243.35 KiB) Viewed 72426 times
Screenshot_2024-01-12-07-44-51-392_com.microsoft.rdc.androidx-edit_copy_429x1008.jpg
Screenshot_2024-01-12-07-44-51-392_com.microsoft.rdc.androidx-edit_copy_429x1008.jpg (241.99 KiB) Viewed 72426 times
louyo
Posts: 161
Joined: Sat Apr 18, 2020 1:16 am

Re: Alarm, nothing found

Post by louyo »

In this camera, I only look for people, no static analysis.
Do not use mainstream, AI just reduces it. Do away with analysis when it works the way you want.
Note that my CP/AI is on another computer, 192.168.50.17.
cancel on unicorn ensures that it will examine the whole image.
What are you looking for in that camera, another car in that spot? Car entering the spot?
Attachments
ai.PNG
ai.PNG (216.14 KiB) Viewed 71984 times
BI_AI.PNG
BI_AI.PNG (178.91 KiB) Viewed 71984 times
mpl
Posts: 7
Joined: Fri Jan 12, 2024 6:52 am

Re: Alarm, nothing found

Post by mpl »

im lookig for everything in the spot.

Image

When i open the alert with "CTRL" iv got the Status. In the Status are 2 Objects dedectet, but the Alert says "Nothing found" ?! WHy?

Code: Select all

[
	{
		"api":"objects",
		"found":{
			"message":"Found car,
			car",
			"count":2,
			"predictions":[
				{
					"confidence":0.8828125,
					"label":"car",
					"x_min":211,
					"y_min":58,
					"x_max":837,
					"y_max":560}
				,
				{
					"confidence":0.56640625,
					"label":"car",
					"x_min":106,
					"y_min":44,
					"x_max":211,
					"y_max":111}
				]
			,
			"success":true,
			"processMs":1052,
			"inferenceMs":1036,
			"code":200,
			"command":"detect",
			"moduleId":"ObjectDetectionCoral",
			"executionProvider":"CPU",
			"canUseGPU":false,
			"analysisRoundTripMs":1059,
			"processedBy":"localhost"}
		}
	]

User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Alarm, nothing found

Post by TimG »

MPL,

1. You only put something in "To cancel" if you want CPAI to keep trying to identify things after the initial identification.
2. You would then increase the number in "+real-time images" to maybe 10+ so it has more images to check.
3. Your "To cancel" shows "Nothing found:0". That :0 is used to prevent other CPAI modules from running, and it isn't normally used in "To cancel" (Unless you know something we don't). If you put ANY word in "To cancel" it will keep checking, so use something that you will NOT see - Louyo has put "unicorn" but I have "boat" as I am in the middle of my country. Put something you won't see and don't use :0 as it may do something unexpected. Also do not have a space there as that may also stop it working. Use one single word.
4. Custom models is where the :0 usually works. In my working example below "alpr:0" prevents that model working on this camera, and then the camera does use "ipcam-combined", and "faces".

Screenshot 2024-01-12 174936.png
Screenshot 2024-01-12 174936.png (119.31 KiB) Viewed 71474 times
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Alarm, nothing found

Post by TimG »

Also the asterisk * on your DAT file shows an identification so you are close.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
mpl
Posts: 7
Joined: Fri Jan 12, 2024 6:52 am

Re: Alarm, nothing found

Post by mpl »

thanks, it works now :)

what means "analyze on each:" ? iv selected now 333ms. is this the time which my CPAI analyzer need to analyze a picture? or can i say with this parameter that each 333ms one picture will be make and analyzed until "+ real-time images" is reached?

sorry for my bad english im from germany :D
User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Alarm, nothing found

Post by TimG »

Excellent news.

"Analyze one each" is the time it will take to analyse one image. Have a look in your log to see how long it takes and use that time. So "Analyse one image every 250ms" should make it more clear. Mine is set to 250ms.

Now if you are using "unicorn" in "To cancel", and you have 20 "+real-time images" you know it will take 250ms x 20 = 5 seconds to complete the identification before it can trigger an Alert. Only becomes a problem if you put 999 extra images.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
mpl
Posts: 7
Joined: Fri Jan 12, 2024 6:52 am

Re: Alarm, nothing found

Post by mpl »

i have choose "boat" to cancel. My daughter has a 1m plush unicorn :D this could be a problem in front of the cam :D

My USB Coral need 800-1300ms for the identification. Which hardware do you use for the idenification?
User avatar
TimG
Posts: 2098
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Alarm, nothing found

Post by TimG »

I'm using a Nvidia GTX1650 in GPU mode to speed up CPAI identification. Recommended by MikeLud and quite fast:

Screenshot 2024-01-13 192454.png
Screenshot 2024-01-13 192454.png (143.09 KiB) Viewed 69563 times
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
mpl
Posts: 7
Joined: Fri Jan 12, 2024 6:52 am

Re: Alarm, nothing found

Post by mpl »

*want too* :x the electricity costs in germany are very high :( one day when the nuclear power plant a reactivated and the electricity costs fall down i will buy a GPU for the AI :)
Post Reply