问题标签 [photo-tagging]

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 回答
595 浏览

facebook - Developing a photo tagging application (with possibiltiy of tagging unlimited tags)

Developing a facebook application similar to: http://www.fostersartofchilling.com/introducing-strong

Their is an image that will be relieved if all the pixels are tagged. Hovering on any pixel on the image previews the thumbnail of the user photo and name.

I tried using fb graph api, but we all know fb has policy set regarding no. of people that can be tagged on an image (50 person).

Please Help on this, Thanks in Advance

0 投票
3 回答
453 浏览

java - 单击图像时如何使 JTextField 出现?

所以我正在尝试制作这个程序,允许用户使用 java 标记照片(有点像 Facebook 标记)。我已经加载了图像,并在用户单击图像区域时制作了 mouselistener。

当用户单击照片的某个区域时,如何使 JTextField 出现?

我认为 JTextField 在某种程度上可以成为用户可以输入他/她的姓名作为照片标签的框。

另外,您认为我应该将 JTextField 代码放在哪里?主要吗?

0 投票
1 回答
497 浏览

facebook - 使用 FQL 在照片中查找所有要搜索的标签的照片的最佳方法是什么?

如果我想使用 FQL 搜索照片中有 2 个人的照片,我可以使用以下代码执行此操作 -

$tag_list 变量是逗号分隔的用户 ID 列表。

这将返回在照片中标记了这些用户中的任何一个的照片。

但是,如果我想找到两个人都出现(被标记)在照片中的照片怎么办。有没有好的方法来做到这一点?如果我想在照片中找到一大群人怎么办。最好只迭代结果并在返回结果后检查所有用户是否都在照片中?

其他人解决了这个问题吗?非常感谢

0 投票
0 回答
501 浏览

facebook-graph-api - How do I get all photos a fan page is tagged in with the Facebook Graph API?

I was able to write a PHP application which requests an access node for the admin of the FB Fan Page, and then requests an access node to gain access to the fan page itself.

I'm now able to get all photos that were posted to the timeline of the fan page by going to https://graph.facebook.com/GROUP_ID/tagged?access_token=...

However, I actually want the photos the fan page is tagged in. The above url only gives me the photos posted to the time line of the fan page, not the ones in which the page is tagged by other users. According to the developers documentation I could get these by going to https://graph.facebook.com/GROUP_ID/photos?access_token=...

Everything seemed to work this way. I got a photo in which the fan page was tagged (profile picture of the fan page). However, I don't get any other photos in which the fan page is tagged. I tried to tag the fan page in its own photos (posted and tagged by an admin of the fan page) and tagging the fan page in other people's photos, but I only get the one profile photo in which the fan page is tagged.

Is this a permission problem or something else? When requesting the access tokens I asked for the following permissions:

  • offline_access
  • read_stream
  • manage_pages

Any help would be greatly appreciated.

0 投票
1 回答
686 浏览

sql - “标签”搜索/排除查询设计问题

背景:我正在做一个自制项目来管理我自己的图像集合,并且一直在尝试实现基于标签的搜索,以便我可以轻松地筛选它们。

现在,我正在使用 RedBean 的标记 API 将标记应用于每个图像的数据库条目,但是我被困在我的实现的特定细节上;目前,允许搜索多个标签将优化搜索的标签(搜索“ABC XYZ”时,标记的图像必须具有标签“ABC”“XYZ”),

我必须使用服务器端语言而不是 SQL 来处理一些处理,然后运行(可选)第二个查询以验证任何返回的图像都没有明确从结果中排除的标签。(搜索“ABC -XYZ”时,标记的图像必须有标签“ABC”而不是“XYZ”)。

这里的问题是我当前的方法要求我通过我的服务器端代码运行所有结果,并且对合理分页/结果偏移的任何尝试都不准确。

我的目标是通过一个查询仅获取post包含请求标签(并且不包含任何排除标签)的表行,并且仍然能够为我的查询使用 LIMIT/OFFSET 参数以获得合理的分页结果。

表模式如下:

如果可能的话,我还希望能够拥有特定于post表列的 WHERE 条件。

我应该使用什么查询结构?我一直在玩左连接,但无法获得解决此问题所需的确切结构。

0 投票
0 回答
407 浏览

android - 无法使用 android sdk 在 facebook 上标记照片

我正在使用以下代码(来自 sdk 示例“Hackbook”)在上传照片后为其添加标签。

但是,我有时(并非总是)收到来自 facebook 的响应为“false”而不是“true”。这有什么具体原因吗?

此外,有没有办法在上传照片时标记照片,而不是拨打额外的电话?

0 投票
1 回答
1229 浏览

facebook - Facebook API:如何标记所有喜欢你页面的人?

假设我有一个 Facebook page,并且该页面有n很多人liked。现在我想在此页面上上传一张照片并标记该页面的所有人员liked。这可能吗?如果有怎么办?

0 投票
1 回答
899 浏览

jquery - 如何添加“标记照片”按钮以开始标记/结束标记

我正在使用此处找到的照片标记脚本

http://www.bryantan.info/jquery/5非常简单的代码。

它工作得很好,但始终处于启用标签模式。如何实现一个“标记照片”按钮,单击该按钮将启用标记,否则,标记将被禁用。此外,完成标记后,可以单击此按钮以关闭标记。

就像脸书标签一样。

0 投票
1 回答
92 浏览

facebook - 获取在照片中标记的我的朋友列表

用户、事件和组都可以在照片中标记。在 photo_tag 的可用字段中,您无法区分哪个主题 ID 是用户、事件或组。我只想返回在照片中标记的朋友列表,忽略不是我朋友的事件、群组和用户。

有谁知道为什么这会返回 0 个结果?

虽然...

返回一个用户列表,其中包括我的朋友,由...验证

0 投票
1 回答
429 浏览

facebook - FQL:检索标记了多个朋友的照片

给定几个朋友 ID,我将如何检索所有标记了多个朋友的照片?

以下似乎没有检索所有照片(或在许多情况下):

我需要在朋友1和朋友2的相册中专门查询吗?