Actually I am trying to view the detected faces over wifi. But, unsuccessful.. I am not being able to send the faces through the socket.. The video is being transmitted, but face detection is not.. I have tried by changing the socket to a Tcp socket. But, I am not getting the idea that how to send the algorithm " for r in objects
Img.draw_rectangle(r)" over wifi.. This is where I am stucked. Please help me out. I am trying for a long period and I have been through many videos and tutorials but unsuccessful...

Hi, you haven't described what application is receiving your data. A socket has to connect to some device and send the data to it. If you want to do a WiFi based application you need to think about what will receive the data and clearly define a protocol for that reception.

Actually I am trying to view the detected faces over wifi. But, unsuccessful.. I am not being able to send the faces through the socket.. The video is being transmitted, but face detection is not.. I have tried by changing the socket to a Tcp socket. But, I am not getting the idea that how to send the algorithm " for r in objects
Img.draw_rectangle(r)" over wifi.. This is where I am stucked. Please help me out. I am trying for a long period and I have been through many videos and tutorials but unsuccessful...

You draw after compressing the image, try moving compressed() after drawing.

Actually I am trying to view the detected faces over wifi. But, unsuccessful.. I am not being able to send the faces through the socket.. The video is being transmitted, but face detection is not.. I have tried by changing the socket to a Tcp socket. But, I am not getting the idea that how to send the algorithm " for r in objects
Img.draw_rectangle(r)" over wifi.. This is where I am stucked. Please help me out. I am trying for a long period and I have been through many videos and tutorials but unsuccessful...

You draw after compressing the image, try moving compressed() after drawing.

Hello sir,
I have tried, but we can't draw after compression.. Rest of the code is working well, but I need to pack the draw_rectangle algorithm so that we can send it to wifi socket using client.send().

Hi, you haven't described what application is receiving your data. A socket has to connect to some device and send the data to it. If you want to do a WiFi based application you need to think about what will receive the data and clearly define a protocol for that reception.

I have created the socket and the whole function to send and rechive the data.

Hi, you haven't described what application is receiving your data. A socket has to connect to some device and send the data to it. If you want to do a WiFi based application you need to think about what will receive the data and clearly define a protocol for that reception.

Hello sir,
We are viewing the video in a chrome browser. And we will try to see the video in a mjpeg video streaming app.