Questions tagged [blobs]

94 questions
1
vote
1 answer

Eliminating blob inside another blob

I'm currently working on a program for character recognition using C# and AForge.NET and now I'm struggling with the processing of blobs. This is how I created the blobs: BlobCounter bcb = new BlobCounter(); bcb.FilterBlobs = true; …
Mr. Manti
  • 15
  • 5
1
vote
1 answer

Scanning a multidimensional json_encoded array

Excuse the formatting -- it kept giving me "you have code unformatted" errors in this question. I have a code which consists of a canvas that prints an image. I then track the user's mouse coordinates, and if they match coordinates found in a text…
mjxxunm
  • 15
  • 3
1
vote
1 answer

Preventing azure blob from being accessed by other service while it's being created

Azure blob API sometimes looks like it's been designed by aliens. Like designed for some very exotic use cases when most simple ones require jumping through the hoops. Here is one such. I have two worker roles. One is creating blobs, another one is…
Konstantin Surkov
  • 248
  • 1
  • 3
  • 9
1
vote
2 answers

PHP Transferring Photos From One Oracle Database Table to Another

I am attempting to transfer a set of photos (blobs) from one table to another across databases. I'm nearly there, except for binding the photo parameter. I have the following code: $conn_db1 = oci_pconnect('username', 'password', 'db1'); $conn_db2…
Guillermo Phillips
  • 2,176
  • 1
  • 23
  • 40
1
vote
1 answer

Kernels correlation in Python

I need to calculate the correlation between kernels located in two matrices with different dimension. The matrices contain the same blob, with small changes in shape. Do you know if there is any alternative to correlate2d, now under stsci_python,…
albus_c
  • 6,292
  • 14
  • 36
  • 77
1
vote
1 answer

Function to add to bytea blob in postgresql

I'm loading a large amount of files (binary data) into a Postgres database (the files being stored as blobs in the db). One way I found was to use Large Objects, which works nicely. However, for various reasons I would like to explore the…
Daniel
  • 471
  • 5
  • 28
1
vote
0 answers

Generating Binary File in Javascript using Blobs and appending to it in a loop

I'm following a file specification to generate a binary file in javascript using blobs and arraybuffers. Everything was going well and I had the following blob: var bb = new Blob([fileSig, version, numBlocks], {type: 'example/binary'}); The…
garg
  • 1,246
  • 2
  • 16
  • 21
1
vote
1 answer

Working with blob, XMLHttpRequest and WebSQL - Trying to save blob into WebSQL and then recover to window.URL.createObjectURL

it's my frist question here on stackoverflow. I tryed search here and at Google ways to: Convert file into blob, save it in WebSQL, then select it from the database and shows with window.URL.createObjectURL So... Almost everything is done I've…
1
vote
1 answer

C#, Storing HTML pages in an SQLite database

I want to cache large HTML pages in an SQLite database as blobs, but the HTML pages may ofcourse contain lots of characters which will corrupt the SQL statement. I'm not too happy with performing search/replace to escape all characters messing up…
sharkin
  • 12,162
  • 24
  • 86
  • 122
1
vote
1 answer

How to match dangling blobs with file names in Git?

I have yet another example of doing a git rm -rf without an initial commit. (I realized I had added lots of useless files and wanted to add some filters.) Now I am left with 23000 dangling blobs with no tree, but with a complete Git history! I'll…
PaulDj
  • 31
  • 4
1
vote
1 answer

Using Opencv to remove small blobs

I am using opencv2.2 on visual studio 2010. I have written a code to preprocess images for OCR. I'm using a lot of trackbars to vary parameters. One of the preprocessing functions is to remove small blobs by drawing contours and filtering them out…
1
vote
1 answer

C# MySQL Blob field - Cannot copy zip file stored in blob to another table

i have a zip file stored in a table by a third party application which i have no control over. I do however have access to the MySQL DB. What i want to do is do a SELECT statement to retrieve a blob field and copy this record into another table. But…
JazziJeff
  • 721
  • 4
  • 17
  • 35
1
vote
0 answers

undefined reference to BlobAnalysis in class CBlobresult

I am working on traffic surveillance system and now I want to detect no. of cars and classify them according to their size.I used average method to get cars as blobs and now I am trying to draw rectangles around cars by getting coordinates of the…
1
vote
1 answer

Uploading Image from gallery to remote server (Titanium-android)

I am developing android application using titanium and in my application I need to upload image from gallery to remote server location.I already tried this button1.addEventListener('click',function(e) { Titanium.Media.openPhotoGallery({ …
nilkash
  • 7,408
  • 32
  • 99
  • 176
0
votes
1 answer

java.lang.UnsupportedOperationException: Blobs are not cacheable

After adding java.sql.Blob field to one of my objects the hibernate persistence manager is now throwing Blobs are not cacheable exception. Any idea how to solve this other than disabling the cache. I tried making the field transient but of course…
MatBanik
  • 26,356
  • 39
  • 116
  • 178