Clear Filters
Clear Filters

How to send simulink video viewer live footage to python script and send output of python script back to simulink?

5 views (last 30 days)
Im doing a project on human detection, so for that is there any way to send live video of simulink simulation (from video viewer) to python scripts which uses deep learning models to identify humans and send python output to simulink in real time?
tried using udp send recieve blocks, but there's no output from udp recieve block.(using 2024b)

Answers (1)

Manikanta Aditya
Manikanta Aditya on 8 Oct 2024
Hi Sashank,
I found a relevant MATLAB Answer query to your question.
Refer to the following MATLAB Answer and see if this gives you any heads up to start with.
Hope it helps!
  1 Comment
Sashank
Sashank on 10 Oct 2024
Thank you for the reply @Manikanta Aditya,
I have already tried this method (i.e, converting MPEG to data packets),
In this I faced two issues one conversion of MPEG format to data packets, I couldnt find the Video converter block which was mentioned in that query.
So i made a custom matlab function block , but it didnt work out......

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!