python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to retrieve raw data from YUV2 streaming
I am interfacing qvga sensor streaming out yuv2 format data through host application on windows (usb). How can I use any opencv-python example application to stream or capture raw data from yuv2 forma...
Emlinux
Votes: 0
Answers: 1
recording audio in raw or pcm format using python
I am trying to use porcupine on my Jetson Nano as a wake word.
In order to do this I need to record audio in pcm format(which I believe is raw format) using python.
I also need the sample rate to be 1...
gs97ahn
Votes: 0
Answers: 1
Why do I get a seg fault when copying to data buffer with PACKET_TX_RING?
The following code generates a segmentation fault on iteration 33. The offending line of code is memcpy(data, datagram, 4096);. How could a simple memcpy generate a segmentation fault?
The output of m...

James Read
Votes: 0
Answers: 1
Why is recvfrom blocking forever with PF_PACKET socket?
The following code reads an IPv4 address from an input file which has an IPv4 address of a known web server on each line. It sends a TCP SYN with a PF_PACKET type socket. The main function launches tw...

James Read
Votes: 0
Answers: 0