问题标签 [blobs]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
983 浏览

opencv - 如何在边缘图像上应用斑点提取?

我有一个边缘图像,我想进行 Blob(对象)检测,我尝试使用 CvBlob 进行典型的 Blob 分析,但结果很差(我正在使用 OPENCV)这是输入图像的示例。 http://postimg.org/image/6uvzhdqad/

0 投票
1 回答
3928 浏览

javascript - IE10 版本 10.0.9200.16844 上的 msSaveBlob 问题

我在 IE 10 上使用 msSaveBlob 和 msSaveOrOpenBlob 方法时遇到问题。这些方法似乎适用于 IE 11 和 IE 10 版本 10.0.9200.17183,但 API 在 IE 10 版本 10.0.9200.16844 上失败。

我正在此站点http://msdn.microsoft.com/en-us/library/ie/hh779016%28v=vs.85%29.aspx#blobbuilder上尝试示例 1 代码

下面是 IE 10 两个版本的行为截图 IE 10 两个版本的行为截图

是否有其他方法可以在方法失败的 IE 10 版本上导出 blob?

0 投票
1 回答
293 浏览

azure - 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 processing them (and moving to "completed" folder when processing is done). The blob size can be moderately big, like 100 MB. Obviously, I don't want second role to start reading the blob before the blob has all the data. Okay, one can expect the help from the Lease API: acquire the lease, copy the blob, release the lease. Then, reader will also try to acquire the lease before processing and therefore will have to wait. But no, lease can't be acquired on a blob that does not exist yet. Also, I couldn't find any method that creates a blob with the lease "on" as an atomic operation.

Please let me know if you know the trick to make it work. Sincerely Yours.

0 投票
2 回答
2404 浏览

azure - 列出 Blob 中的文件?

刚开始使用Windows Azureand Mapreduce。我已经在 中创建了一个HDInsight集群,Azure Portal并且还Block Blob使用Azure Explorer命名的BlobFiles.

我想知道的是,有没有办法列出 a 中的所有Blob文件Blob Container?换句话说,如果我将文本文件和图像上传到同一个Blob文件,我如何以编程方式或以其他方式列出这些文本文件以及这些图像?

搜索了一个解决方案,但仍然无法找到一个。我可以使用 单独查看文件的内容,但Azure Explorer无法找到查看或显示该特定文件的方法Blob

编辑:这是我试图显示的 Blob:

当我尝试上面的代码时,它会多次显示类似Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob, 的内容。

任何帮助,将不胜感激。

0 投票
0 回答
379 浏览

c# - WindowsAzure.Storage 4.3.0.0 调用 CloudBlobClient.GetServiceProperties() 的身份验证错误

我在使用 WindowsAzure.Storage API 访问 blob 存储和获取/设置 CORS 属性时遇到了一些问题。我的代码很简单,例如:

从控制台应用程序运行此程序时,我收到此异常:

查看 Fiddler,它提供了更多细节:

请注意,空行在返回的消息中。另外,我没有使用任何类型的代理,也没有使用 REST,而是使用 .Net API。请求标头是:

最后,还有一些其他注意事项: - 我在 CloudBerry Explorer 中为 Azure Blob 存储使用了完全相同的帐户数据,我可以看到属性的值。

有任何想法吗?由于缺乏有关此主题的信息,我也有点难过和沮丧(不幸的是,在使用 Mono/RaspberryPi2 和 REST api 写入某人队列时有非常相似的经历)。

0 投票
0 回答
217 浏览

sql - 确定 lob 的表空间名称

我创建了四个这样的表空间:

我创建了一个这样的分区表

我能够将行插入到分区表中,也能够检索它们。如何确定 lob 是否进入正确的表空间?我的意思是,有没有一种方法可以确定数据库中插入的所有 lob 以及它们存储在哪些表空间中?

0 投票
2 回答
16557 浏览

c# - 如何获取具有子目录级别(n 级别)的 Blob 容器中的所有 Blob?

尝试使用 ListBlobsSegmentedAsync 方法,但这仅返回主父目录级别的 blob。

但是我需要从所有 n 级子目录中一次性获取整个 blob 列表。

0 投票
1 回答
369 浏览

orientation - SimpleCV blob 紧密裁剪

我有一张深色背景下大量椭圆形物体的图像。对象朝向许多不同的方向。我需要提取它们,使它们都朝向相同的方向(即水平方向),以便它们可以被紧密裁剪。

我已成功使用 findBlobs() 和裁剪来提取单个对象,但裁剪后的图像保留了它们在原始图像中的方向。我还成功地旋转了单个对象,使其水平,但这通常会切断对象的末端。

因为我知道主轴与原始图像的 x 轴形成的坐标和角度,所以我尝试遍历每个对象的角度,然后使用 findBlobs() 仅裁剪角度 = 0 的那些斑点。

我可能会让这变得比它必须的更困难。所以我需要一些建议。

下面是代码: from SimpleCV import * from operator import itemgetter, attrgetter, methodcaller

0 投票
0 回答
165 浏览

matlab - imfindcircles 无法正确跟踪 blob

我正在尝试使用imfindcircles. 它适用于第一张图像,但其他图像即使非常相似也很混乱。 这是错误的输出。我的代码有什么问题?

0 投票
0 回答
781 浏览

javascript - javascript的Blob构造函数在Safari浏览器中不起作用

谁能帮我解决这个问题。我在我的 JavaScript 中使用 html blob 将 html 网格下载到 excel 文件中。在 Chrome 和 Mozilla 中它工作正常,但在 safari 浏览器中它显示错误。代码和错误如下:

我在野生动物园中遇到这样的错误:

任何人都可以解决这个问题吗?