Questions tagged [raw]

204 questions
1
vote
0 answers

express.raw() doesn't inflate a zlib-compressed object

Passing a uint8 array from browser to Node Express running in Linux container on Chromebook, to have content decompressed and returned to browser session. The req.body initial bytes are x'68de' which are valid RFC1950 header data for DEFLATE. The…
1
vote
1 answer

OpenCV uncompressed raw video file - what format?

I'm trying to save an uncompressed raw video file given some frames with OpenCV. Going trough the doc, I can read: If FFMPEG is enabled, using codec=0; fps=0; you can create an uncompressed (raw) video file. OpenCV seems to have FFMPEG enabled;…
Buzz
  • 1,102
  • 1
  • 9
  • 24
1
vote
1 answer

Numpy workaround for dtype=uint10, uint12, uint14 for RAW image import

Importing 16-bit unsigned raw (image) data into python is simple: data = numpy.fromfile( source_file, dtype=numpy.uint16 ) data = numpy.asarray( data ) But I must also import 10, 12, and 14-bit unsigned integer data so I can encode those data into…
1
vote
0 answers

Raw Image(AVCapturePhotoOutput) CMSampleBuffer(AVCaptureVideoDataOutput) difference?

I'm working on getting a raw image from avfoundation. I have a understanding of general pipeline of digital image. image sensor bayer filter demosaicing. My goal is getting a image as raw as possible. I found out that using AVCaptureOutput, if…
1
vote
1 answer

How to get raw data of http post request inn Golang using gin framework

I am getting one POST request in my server whose payload is something like that { "amount": 10000, "amount_due": 0, "amount_paid": 10000, "attempts": 1, } and content-type is application/json. Now for some calculation…
1
vote
0 answers

Raw folder files are not included in Android release build in latest gradle version

Description: Added mp3 file under res/raw folder in Android native code to play mp3 file in app which is working in debug build but not able to play in release build. Issue: As per APK analysis, raw folder for debug build is included in apk but…
Patel Pinkal
  • 8,984
  • 4
  • 28
  • 50
1
vote
0 answers

Return id from Typeorm raw Update query

How can I return Id and other fields of rows that were updated for a Update raw query in typeorm? Here's my query const slots = await manager.query(` UPDATE slot SET status = 'void', void_reason = 'Billing - incomplete verification' …
1
vote
2 answers

Can I send GET data via raw JSON with Postman?

If I using Post method like this : It works. I success get data id from backend If I using Get method like this : I can't get json data. Json data is empty My code in backend : public async test({ request, response }: HttpContextContract) { …
1
vote
0 answers

How to display Unity realtime TIFF (RAW, NEF) images?

During execution, I load photos from the memory of the Android device, through LoadImage everything works with PNG and JPG, but how to display TIFF (RAW, NEF)? Tried using LoadRavItageDate(), nothing happens. Apparently not correctly determine the…
1
vote
1 answer

What is the most elegant way to convert n-bit data stored in a matrix to integer?

I'm struggling to extract information from binary files in a fast way without making use of idiosyncratic approaches without being able to recycle code in another context at a later stage. My actual use case encompasses binary precipitation radar…
dimfalk
  • 853
  • 1
  • 5
  • 15
1
vote
1 answer

Not recognizing tag in @Html.Raw in ASP.NET MVC C#

I am using ASP.NET MVC, when I want to use the tag in @Html.Raw, this tag does not appear in the desired
. As shown here:
@Html.Raw("OKK

1
vote
0 answers

Convert pixel array to DNG in SWIFT ... without libtiff/libjpeg?

I have raw image data, a pixel array (actually a single string of data) that I want to convert to the most basic and minimal DNG format/file. I saw different approaches utilizing libtiff and libjpeg. Is there a simpler and more straight forward way…
1
vote
0 answers

TypeError: raw_parse() missing 1 required positional argument: 'sentence'

I tried this code below: from nltk.parse.corenlp import CoreNLPParser sdp = nltk.parse.corenlp.CoreNLPDependencyParser result = list(sdp.raw_parse(sentence)) But I get this error TypeError Traceback (most recent…
O Yusuph
  • 11
  • 1
1
vote
1 answer

Combination of RawPy and imageio result in red image

I want to do some image processing using .dng files. I am using rawpy to convert the file into a numpy array. Then imageio to save the image. It is a very simple code, given on the rawpy webpage. The resulting .png image is not as I expect it to be.…
Jop de Boo
  • 11
  • 1
1
vote
1 answer

Oracle -convert HEX datetime to readable

My SCADA’s database using Oracle. It includes 2 fields named “day_part”, “time_part” that I guess it stores date and time. It stored with RAW data type, result query is HEX. I tried to convert, encode raw (hex)to decimal (example 07911C…
B5 Backup
  • 11
  • 2
1
2
3
13 14