I have trained a model using my datasets, how can I use the model to detect anomaly in the video (.mp4) ? #1232
-
What is the motivation for this task?Real-time anomaly detection Describe the solution you'd likeWe use lightning_inference.py to achieve anomaly detection of a picture successfully, but find no proper functions to detect directly in the video. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@djdameln, can you help here? |
Beta Was this translation helpful? Give feedback.
-
You should write a function that reads single frames from the video and pass them to the inference function |
Beta Was this translation helpful? Give feedback.
-
@zhanghuayu-seu Were You able to do that? How much FPS did you got with this real time inference? |
Beta Was this translation helpful? Give feedback.
-
@glucasol, if speed is your concern for a video inference, you could potentially utilise OpenVINO's async inference, which significantly improves the FPS for such use cases. For more information, you could refer to this link: Let us know if you have any more questions. |
Beta Was this translation helpful? Give feedback.
You should write a function that reads single frames from the video and pass them to the inference function