Questions tagged [raw-data]

Raw data is a term for data collected from a source that has not been subjected to processing or any other manipulation, and are also referred to as primary data.

204 questions
1
vote
2 answers

Manipulating raw png data

I want to read a PNG file such that I can: a) Access the raw bitmap data of the file, with no color space adjustment or alpha premultiply. b) Based on that bitmap, display bit slices (any single bit of R, G, B, or A, across the whole image) in an…
Jerry B
  • 444
  • 6
  • 14
1
vote
2 answers

How To Get RAW USB Input from wireless Keyboard

I'm Using Ubuntu and have purchased a Logitech K750 Wireless Keyboard that runs on solar power. I would like to use this device not just as a keyboard but also as a light sensor for my office. The keyboard (this I know from the windows tool…
Lukas Ruge
  • 2,204
  • 3
  • 30
  • 42
1
vote
0 answers

How to setup a XML Parser parsing and XML document with formatted raw data in C++ without using existing tool

I have hit a wall with my current skill level (started with C++ mid Feb of 2022). I need to setup a manual XML Parser that reads a XML file that always remains the same in its format but only saves measurements inserted by a XML writer. With manual…
Nells
  • 21
  • 5
1
vote
2 answers

How do I wrangle messy, raw data and import into R?

I have raw, messy data for time series containing around 1400 observations. Here is a snippet of what it looks like: [new Date('2021-08-24'),1.67,1.68,0.9,null],[new Date('2021-08-23'),1.65,1.68,0.9,null],[new Date('2021-08-22'),1.62,1.68,0.9,null]…
1
vote
0 answers

Streaming raw audio from Android to Server to Client

Given a raw audio file on an android device, my task is as follows: Stream the file (with a latency of up to 3 seconds): from the android device to a NodeJS server, the server will then stream it to another client (browser) which can then play it…
A S
  • 75
  • 8
1
vote
0 answers

How to read disks?

In programming how do you go about reading raw data off of disks. Note: not with a hex-editor, I know how to do that. I basically want to make my own tool. For example; I want to be able to read the raw data off of a flash drive or some other disk…
nobody
  • 93
  • 1
  • 2
  • 5
1
vote
1 answer

Convert GIL image_view directly to OpenCV Mat

I am getting a stream of images from a simulator in the form of a gil::image_view and need to convert them to cv::Mat for further processing. Up until now I more or less copied the code from this answer without really understanding it: auto…
M47
  • 400
  • 2
  • 13
1
vote
1 answer

Subtract raw floating-point files elementwise, with a script?

I have two files which are raw sequences of little-endian 32-bit floating-point values (with no crazy values like infinity, NaN, denormals etc.), and I want to produce their elementwise difference in a third file. Now, I can write a small utility to…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

iphone, objective c, how to read raw data from audio file (without codec applied)

I am developing an iphone app, which sends/receives data to audio/headphone jack of iphone. I assume we can send/receive data to headphone jack but that data is audio file with some codec applied. I want to read an audio file and send raw data to…
aqavi_paracha
  • 1,131
  • 2
  • 17
  • 38
1
vote
0 answers

convert a string to pdf in react

In a react app, I am getting a raw pdf string from an API and I would like to convert it to a pdf document in a new tab in the user browser. I fetch the data with a simple Axios request and get something like this in return: data:…
Amir Shahbabaie
  • 1,352
  • 2
  • 14
  • 33
1
vote
1 answer

What kind of data is this, and how do I turn it to human readable form with python?

I'm pulling data out from DA-14585 IoT device. I'm getting a report from the temperature sensor which is as follows: a50f060203d10900000b020390290000 Reading the documentation (search for table 12) tells me that a5 is preamble 0f is timestamp 06 is…
user3553653
  • 127
  • 1
  • 8
1
vote
0 answers

Post raw data android

I want to send post request in android using Asynctask but it did not work. In post man I send raw data bellow and I got the result. ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="image"; filename="file…
1
vote
2 answers

How to reconstruct the raw data from a histogram?

I need to recover the "raw data" from a timing histogram provided by a timing counter as a .csv file. I've got the code below but since the actual data has several thousands of counts in each bin, a for loop is taking a very long time, so I was…
1
vote
1 answer

How can I Read&Write raw data to a USB-Drive using C on windows

So I made my own encryption scheme and I came up with an idea that I can have a USB drive with raw data (no file-system at all) that I can use as a "key" in my encryption scheme. I need a way to read and write data right into the USB, Iv'e tried…
user7263832
1
vote
0 answers

php post raw data - follow post URL

i need to post raw data (XML) to an external site, the XML data is good to go, and is working with the below example... I am using PHP / cURL normally i do this by cURL, but in this instance, i need to redirect the client to the URL with the post…