CLI or API to switch YOLO model size
-
My current configuration for utilizing CAI does not allow me to use custom models at this time (SYNOAI). My goal is to detect people, cars, and animals for which I have obtain by using "CodeProject.AI-Custom-IPcam-Models". I find that "IPcam-combined" seems to miss many positive hits during the night, and "IPcam-dark" picks them up. I have verified with CAI explorer and sure enough it does not pick up many items at night unless I use the "IPCAM-dark" Currently (as a workaround) have been replaced the YOLO small model with "IPcam-combined" model file and I replaced YOLO medium model with "IPCAM-dark" file. This seems to provide me with what I am looking for. So manually I have been switching the YOLO model from small/medium for day/night detection. I would like to see if there was a way to script this so I can toggle the YOLO model size via a scheduler, or any other possible suggestions on how to handle this. THANKS!!!
-
My current configuration for utilizing CAI does not allow me to use custom models at this time (SYNOAI). My goal is to detect people, cars, and animals for which I have obtain by using "CodeProject.AI-Custom-IPcam-Models". I find that "IPcam-combined" seems to miss many positive hits during the night, and "IPcam-dark" picks them up. I have verified with CAI explorer and sure enough it does not pick up many items at night unless I use the "IPCAM-dark" Currently (as a workaround) have been replaced the YOLO small model with "IPcam-combined" model file and I replaced YOLO medium model with "IPCAM-dark" file. This seems to provide me with what I am looking for. So manually I have been switching the YOLO model from small/medium for day/night detection. I would like to see if there was a way to script this so I can toggle the YOLO model size via a scheduler, or any other possible suggestions on how to handle this. THANKS!!!
There is a AI forum somewhere. Obviously there is a way to switch it since you yourself did it. So whatever that process is you could just create a scheduler based on a dusk/dawn timer. You will need to find a dusk/dawn source of course. You will probably find using an offset from that will work better also. I wouldn't be surprised if camera placement also would impact that. Or perhaps just run both and feed the output into a single detector.
-
My current configuration for utilizing CAI does not allow me to use custom models at this time (SYNOAI). My goal is to detect people, cars, and animals for which I have obtain by using "CodeProject.AI-Custom-IPcam-Models". I find that "IPcam-combined" seems to miss many positive hits during the night, and "IPcam-dark" picks them up. I have verified with CAI explorer and sure enough it does not pick up many items at night unless I use the "IPCAM-dark" Currently (as a workaround) have been replaced the YOLO small model with "IPcam-combined" model file and I replaced YOLO medium model with "IPCAM-dark" file. This seems to provide me with what I am looking for. So manually I have been switching the YOLO model from small/medium for day/night detection. I would like to see if there was a way to script this so I can toggle the YOLO model size via a scheduler, or any other possible suggestions on how to handle this. THANKS!!!
You probably want to raise this in the dedicated forum: CodeProject.AI Discussions[^] - you'll get people who know and / or use CP.AI and less abuse from people who read the bit at the top of the page about not posting programming questions in the lounge ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
You probably want to raise this in the dedicated forum: CodeProject.AI Discussions[^] - you'll get people who know and / or use CP.AI and less abuse from people who read the bit at the top of the page about not posting programming questions in the lounge ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
good point. ADMINS could you move my post to forum: CodeProject.AI Discussions
-
good point. ADMINS could you move my post to forum: CodeProject.AI Discussions
@sean-ewington Could you oblige please?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
good point. ADMINS could you move my post to forum: CodeProject.AI Discussions
The CodeProject.AI Server discussion board is actually part of an article, rather being a forum like this one. Unfortunately, we can't move it. I haven't set up CodeProject.AI Server with SynoAI yet. I'm going to have to put this on my todo list, mess around with it, and possibly write an article on how to use it fully.
Thanks, Sean Ewington CodeProject
-
My current configuration for utilizing CAI does not allow me to use custom models at this time (SYNOAI). My goal is to detect people, cars, and animals for which I have obtain by using "CodeProject.AI-Custom-IPcam-Models". I find that "IPcam-combined" seems to miss many positive hits during the night, and "IPcam-dark" picks them up. I have verified with CAI explorer and sure enough it does not pick up many items at night unless I use the "IPCAM-dark" Currently (as a workaround) have been replaced the YOLO small model with "IPcam-combined" model file and I replaced YOLO medium model with "IPCAM-dark" file. This seems to provide me with what I am looking for. So manually I have been switching the YOLO model from small/medium for day/night detection. I would like to see if there was a way to script this so I can toggle the YOLO model size via a scheduler, or any other possible suggestions on how to handle this. THANKS!!!
[Configuring Module Settings - CodeProject.AI Server v2.5.0](https://www.codeproject.com/AI/docs/api/module\_settings.html#option-5-via-the-settings-api) may help.
cheers Chris Maunder
-
The CodeProject.AI Server discussion board is actually part of an article, rather being a forum like this one. Unfortunately, we can't move it. I haven't set up CodeProject.AI Server with SynoAI yet. I'm going to have to put this on my todo list, mess around with it, and possibly write an article on how to use it fully.
Thanks, Sean Ewington CodeProject
-
[Configuring Module Settings - CodeProject.AI Server v2.5.0](https://www.codeproject.com/AI/docs/api/module\_settings.html#option-5-via-the-settings-api) may help.
cheers Chris Maunder