Questions tagged [raw]

204 questions
1
vote
1 answer

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 format. How can I do that? Is there any test example…
Emlinux
  • 39
  • 2
  • 13
1
vote
1 answer

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 16,000 and 16bit linearly encoded on single…
gs97ahn
  • 175
  • 9
1
vote
1 answer

Why is sendto returning zero with raw sockets?

The following program uses a PF_PACKET socket to send a TCP SYN packet to web server read from a file which is a list of web server IPv4 addresses - one address per line. The code is quite long because it takes a lot of code to obtain the gateway…
James Read
  • 419
  • 2
  • 7
  • 13
1
vote
1 answer

In Laravel, how do you bind parameters in DB raw query when you set model attribute?

For example, I have my codes. $news = new News(); $news->title = 'hello world'; $new->user = $user_id, $news->urlcc = DB::raw('crc32("'.$args['newsShortUrlInput'].'")'); $news->save(); $news->refresh(); Here with attribute $news->urlcc comes from…
Johnson
  • 67
  • 1
  • 10
1
vote
1 answer

Fetching raw data from github wiki

How do I fetch raw github wiki file that contains other files? In my wiki I have 8 links that redirect to other wiki files in the same repo. I got to fetch each individual files with: https://raw.githubusercontent.com/wiki/user/repo/file.md But how…
Fill
  • 377
  • 2
  • 15
1
vote
1 answer

How can I get keyboard input data in Go?

I want to be able to tell if a user presses things like Ctrl+[something] or Esc on their keyboard in Go. The program runs in a Linux environment inside a terminal.
pickLondom
  • 11
  • 1
  • 2
1
vote
0 answers

How to open a raw image file in R?

A raw image is made of raw data coming from the camera sensor alongside other data. I want to open the raw image and extract the raw sensor data in the form of a matrix. I know it's not an image, but I just want to access the raw values. I tried to…
Lordan
  • 11
  • 1
1
vote
0 answers

Green tint when stacking RAW DNG images in Android

I am trying to process multiple RAW DNG images by stacking them to produce 1 stacked RAW DNG image. First, I get the DNG pixel data into byte array, since DNG is digital negative, I then flipped the byte values using "~" and convert them into…
Wayne
  • 11
  • 1
1
vote
0 answers

Android - My app can't find my Raw files when published

[EDIT: I have found that if I have "minifyEnabled true" set for release build, then I see the following issue. If removed, issue is resolved. Is this a bug?] Original post: I have my library that I am using in my app, as Library project. In that…
M. Usman Khan
  • 3,689
  • 1
  • 59
  • 69
1
vote
1 answer

dieharder - proper binary input file

I use dieHarder tool with ASCII format input files and results are OK but now it`s the right time to use binary files instead. When I had converted my random data to a BIN file like described below no BIAS at all tests is seen. The documentation…
Ruby
  • 11
  • 2
1
vote
0 answers

Using a variable in a subprocess.call(r'net use z: ' ) function to map a network drive

I'm trying to map my students personal folders on the shared drive. I really don't want to do this one at a time and have very limited networking experience so thought I'd python it. #ADDRESS GENERATION path = r'\\10.38.10.22\04.Simon' address =…
1
vote
1 answer

Is there a way to insert raw escaped json in json body in ansible

See below first call which works. This is an example of how I create a template on my system. Notice I have to use {% raw %} ... {% endraw %} so ansible doesn't try to interpret the variables in my template. - name: Create a template : OK …
Romain
  • 172
  • 10
1
vote
1 answer

Spring Soap client - get raw response

I created a Soap client using Spring tutorial: https://spring.io/guides/gs/consuming-web-service/ It works fine using the Java objects. I wonder if there's a way I could obtain response (the payload, preferably without SOAP wrapper) as it is send by…
Remik
  • 21
  • 4
1
vote
2 answers

how openstack resize instance with raw format's local disk

Instance using local disk, the configure file: nova-compute/nova.conf [libvirt] images_type = qcow2 execute openstack server resize works well. but when using raw [libvirt] images_type = raw the instance console get: Is there any method to resize…
Victor Lee
  • 2,467
  • 3
  • 19
  • 37
1
vote
0 answers

Reading data from a compressed CSV file in raw format directly into memory?

The Question: I have a dataset that I am pulling from an S3 bucket that is stored in a compressed CSV file format. The data comes via the S3 API as a raw vector which I then save as a file and then read the data in from that file. Is there a way…
1 2
3
13 14