# Questions

**URL:** https://forum.aotu.ai/c/questions/5.md

[Latest](https://forum.aotu.ai/latest.md) · [Categories](https://forum.aotu.ai/categories.md)

---

## [About the Questions category](https://forum.aotu.ai/t/about-the-questions-category/22)

<div class="topic-metadata">

**Author:** [@alex.thiel](https://forum.aotu.ai/u/alex.thiel)\
**Replies:** 0

</div>

---

## [Questions about Capsule button](https://forum.aotu.ai/t/questions-about-capsule-button/358)

<div class="topic-metadata">

**Author:** [@internetoftobi](https://forum.aotu.ai/u/internetoftobi)\
**Replies:** 5\
**Last updated:** [July 17, 2024, 11:49pm UTC](https://forum.aotu.ai/t/questions-about-capsule-button/358 "2024-07-17T23:49:02Z")

</div>

Quick questions, –Why is the capsule button not showing the enable button? –Adding another camera is not working say the input is from the webcam.

---

## [用Java的方式创建任务选项后无法获得警报](https://forum.aotu.ai/t/java/375)

<div class="topic-metadata">

**Author:** [@Arthas](https://forum.aotu.ai/u/Arthas)\
**Replies:** 0\
**Last updated:** [March 18, 2024, 9:26am UTC](https://forum.aotu.ai/t/java/375 "2024-03-18T09:26:54Z")

</div>

我根据Brainframe提供的api BrainFrame API Documentation (aotu.ai)，尝试着用Java的方式请求创建任务选项（前提是视频流已设置），结果无法触发警报；但是我用同一个视频和同一个警报在Brainframe的客户端（BrainFrameClient）直接添加视频流和任务选项，就可以触发警报，这是怎么回事？是我哪里设置错了吗？以下是我在Java中请求创建任务的源码： String url = …

---

## [Missing cashier python api example shows alert from beginning to end of video](https://forum.aotu.ai/t/missing-cashier-python-api-example-shows-alert-from-beginning-to-end-of-video/370)

<div class="topic-metadata">

**Author:** [@caixuncnv](https://forum.aotu.ai/u/caixuncnv)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 1:49am UTC](https://forum.aotu.ai/t/missing-cashier-python-api-example-shows-alert-from-beginning-to-end-of-video/370 "2023-11-20T01:49:05Z")

</div>

Hi, I am trying the python api example with the missing cashier video. I am able to run the code successfully but the alert starts from around 1 sec of the video to the end. I opened the client and i can see zone is set …

---

## [Detector person and vehicle fast 胶囊无法加载](https://forum.aotu.ai/t/detector-person-and-vehicle-fast/367)

<div class="topic-metadata">

**Author:** [@i-robot](https://forum.aotu.ai/u/i-robot)\
**Replies:** 0\
**Last updated:** [August 2, 2023, 4:05am UTC](https://forum.aotu.ai/t/detector-person-and-vehicle-fast/367 "2023-08-02T04:05:18Z")

</div>

将detector\_person\_and\_vehicle\_fast.cap放到/var/local/brainframe/capsules目录后，容器brainframe\_core\_1变成restarting状态，bf客户端打开时，弹窗报502 Bad gateway错误，胶囊配置里也看不到加载的胶囊。

---

## [Origin not allowed](https://forum.aotu.ai/t/origin-not-allowed/360)

<div class="topic-metadata">

**Author:** [@internetoftobi](https://forum.aotu.ai/u/internetoftobi)\
**Replies:** 1\
**Last updated:** [June 26, 2023, 7:21pm UTC](https://forum.aotu.ai/t/origin-not-allowed/360 "2023-06-26T19:21:37Z")

</div>

My grafana local host keep showing origin not allowed, what could be the issue?

---

## [What Python version does BrainFrame use?](https://forum.aotu.ai/t/what-python-version-does-brainframe-use/345)

<div class="topic-metadata">

**Author:** [@stephen](https://forum.aotu.ai/u/stephen)\
**Replies:** 0\
**Last updated:** [April 2, 2023, 4:42am UTC](https://forum.aotu.ai/t/what-python-version-does-brainframe-use/345 "2023-04-02T04:42:23Z")

</div>

BrainFrame is currently based on Python 3.6m. To confirm the Python version included in your BrainFrame installation, please run the following commands: Access the BrainFrame container by running: ‘docker exec -it brain…

---

## [I tried to build a YOLOv5 VisionCapsule, but I am not sure if there are any special steps that I need to include in the Capsule](https://forum.aotu.ai/t/i-tried-to-build-a-yolov5-visioncapsule-but-i-am-not-sure-if-there-are-any-special-steps-that-i-need-to-include-in-the-capsule/343)

<div class="topic-metadata">

**Author:** [@stephen](https://forum.aotu.ai/u/stephen)\
**Replies:** 0\
**Last updated:** [April 2, 2023, 4:29am UTC](https://forum.aotu.ai/t/i-tried-to-build-a-yolov5-visioncapsule-but-i-am-not-sure-if-there-are-any-special-steps-that-i-need-to-include-in-the-capsule/343 "2023-04-02T04:29:46Z")

</div>

We plan to release a YOLOv5 VisionCapsule template, but it is not yet available for public download. However, if you have experience with YOLOv5 inference, all you need to do is make sure that the pre-processing and post…

---

## [I tried using the classifier behavior closeup openvino model, but it didn't detect smoking or drinking behavior. Is there something wrong with my configuration?](https://forum.aotu.ai/t/i-tried-using-the-classifier-behavior-closeup-openvino-model-but-it-didnt-detect-smoking-or-drinking-behavior-is-there-something-wrong-with-my-configuration/342)

<div class="topic-metadata">

**Author:** [@stephen](https://forum.aotu.ai/u/stephen)\
**Replies:** 0\
**Last updated:** [April 2, 2023, 4:21am UTC](https://forum.aotu.ai/t/i-tried-using-the-classifier-behavior-closeup-openvino-model-but-it-didnt-detect-smoking-or-drinking-behavior-is-there-something-wrong-with-my-configuration/342 "2023-04-02T04:21:12Z")

</div>

The neural network model of classifier behavior closeup openvino is trained on a dataset that is clear and visible near the face at a short distance. For other scenarios, you need to collect data specific to the scene an…

---

## [Is there a web based BrainFrame-Client](https://forum.aotu.ai/t/is-there-a-web-based-brainframe-client/341)

<div class="topic-metadata">

**Author:** [@stephen](https://forum.aotu.ai/u/stephen)\
**Replies:** 0\
**Last updated:** [April 2, 2023, 4:13am UTC](https://forum.aotu.ai/t/is-there-a-web-based-brainframe-client/341 "2023-04-02T04:13:15Z")

</div>

The BrainFrame Client is currently written in Python and released as an open-source project under the BSD license. It is available at GitHub - aotuai/brainframe-qt: 🧠🖼️ The official desktop client for BrainFrame, made wi…

---

## [Want to use alarm to switch on a light](https://forum.aotu.ai/t/want-to-use-alarm-to-switch-on-a-light/311)

<div class="topic-metadata">

**Author:** [@Shams3049](https://forum.aotu.ai/u/Shams3049)\
**Replies:** 1\
**Last updated:** [March 31, 2023, 7:01am UTC](https://forum.aotu.ai/t/want-to-use-alarm-to-switch-on-a-light/311 "2023-03-31T07:01:21Z")

</div>

Hi all, I am just getting stsrted and could use a little help. I want to use the alarm to activate a light connected to a raspberry pi. Any ideas on where i should start? Do i use the API endpoint or is there a way for…

---

## [Does BrainFrame support PyTorch?](https://forum.aotu.ai/t/does-brainframe-support-pytorch/340)

<div class="topic-metadata">

**Author:** [@stephen](https://forum.aotu.ai/u/stephen)\
**Replies:** 0\
**Last updated:** [March 31, 2023, 6:36am UTC](https://forum.aotu.ai/t/does-brainframe-support-pytorch/340 "2023-03-31T06:36:16Z")

</div>

Can I use PyTorch to train my deep neural network and then package in a VisionCapsule? Does BrainFrame support PyTorch framework? Yes, you can use PyTorch to train your deep neural network and package it in a VisionCaps…

---

## [Windows版的客户端不能下载](https://forum.aotu.ai/t/windows/337)

<div class="topic-metadata">

**Author:** [@ylx](https://forum.aotu.ai/u/ylx)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 10:40pm UTC](https://forum.aotu.ai/t/windows/337 "2023-03-06T22:40:34Z")

</div>

弹出如下错误 AccessDenied Access Denied 8RHSZVPVK7YC3F4M 5/8UIuriW0ekImPwL+H/iJM1pRPsQYDQktIV/E7oBZHwzj9FVyTbvxXNxX38qKXU3b39KJHvZNg=

---

## [Brainfeame install 执行过程中出现问题](https://forum.aotu.ai/t/brainfeame-install/327)

<div class="topic-metadata">

**Author:** [@Lixy](https://forum.aotu.ai/u/Lixy)\
**Replies:** 1\
**Last updated:** [November 12, 2022, 8:03am UTC](https://forum.aotu.ai/t/brainfeame-install/327 "2022-11-12T08:03:55Z")

</div>

镜像地址也设置了 { “registry-mirrors”: \[“https://docker.mirrors.ustc.edu.cn/”\] } 在线等

---

## [About the hardware support issue](https://forum.aotu.ai/t/about-the-hardware-support-issue/79)

<div class="topic-metadata">

**Author:** [@royukira](https://forum.aotu.ai/u/royukira)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 8:39am UTC](https://forum.aotu.ai/t/about-the-hardware-support-issue/79 "2022-06-22T08:39:35Z")

</div>

Does the BrainFrame only support x86 hardwards in edge computing?

---

## [0.29版本的客户端身份上传出现的问题](https://forum.aotu.ai/t/0-29/248)

<div class="topic-metadata">

**Author:** [@siyannian](https://forum.aotu.ai/u/siyannian)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 1:24am UTC](https://forum.aotu.ai/t/0-29/248 "2021-10-15T01:24:58Z")

</div>

版本是0.29 进身份上传点文件夹的时候出现这样的问题如图

---

## [执行sudo -H pip3 install --upgrade brainframe-cli 后出现 Cannot uninstall ‘PyYAML’](https://forum.aotu.ai/t/sudo-h-pip3-install-upgrade-brainframe-cli-cannot-uninstall-pyyaml/240)

<div class="topic-metadata">

**Author:** [@siyannian](https://forum.aotu.ai/u/siyannian)\
**Replies:** 3\
**Last updated:** [September 28, 2021, 4:15pm UTC](https://forum.aotu.ai/t/sudo-h-pip3-install-upgrade-brainframe-cli-cannot-uninstall-pyyaml/240 "2021-09-28T16:15:15Z")

</div>

执行sudo -H pip3 install --upgrade brainframe-cli 后出现这个错误

---

## [客户端身份上传错误，客户端提示0001\_1.jpg Too many detections in image](https://forum.aotu.ai/t/0001-1-jpg-too-many-detections-in-image/243)

<div class="topic-metadata">

**Author:** [@siyannian](https://forum.aotu.ai/u/siyannian)\
**Replies:** 0\
**Last updated:** [September 28, 2021, 7:58am UTC](https://forum.aotu.ai/t/0001-1-jpg-too-many-detections-in-image/243 "2021-09-28T07:58:52Z")

</div>

在身份上传的时候，出现这样的错误，是不是缺依赖包？如图

---

## [Some errors occurred while installing PyTorch](https://forum.aotu.ai/t/some-errors-occurred-while-installing-pytorch/230)

<div class="topic-metadata">

**Author:** [@zgp](https://forum.aotu.ai/u/zgp)\
**Replies:** 5\
**Last updated:** [September 16, 2021, 1:48pm UTC](https://forum.aotu.ai/t/some-errors-occurred-while-installing-pytorch/230 "2021-09-16T13:48:16Z")

</div>

I want to use Pytorch in brainframe,so I installed pytorch into the aotuai/brainframe\_core:0.28.3 container locally.But some errors occurred.Can anyone give me some advice?

---

## [Add embedded video from the client to my website](https://forum.aotu.ai/t/add-embedded-video-from-the-client-to-my-website/228)

<div class="topic-metadata">

**Author:** [@hadarsnorlax](https://forum.aotu.ai/u/hadarsnorlax)\
**Replies:** 2\
**Last updated:** [September 10, 2021, 6:11pm UTC](https://forum.aotu.ai/t/add-embedded-video-from-the-client-to-my-website/228 "2021-09-10T18:11:11Z")

</div>

Hello, I wanted to know if there is an option for adding live embedded video of the client to my website. There is a way to do it with the BrainFrame api? if not, can I display it in different ways?

---

## [Video File Won't Load in WSL2](https://forum.aotu.ai/t/video-file-wont-load-in-wsl2/196)

<div class="topic-metadata">

**Author:** [@gkomix](https://forum.aotu.ai/u/gkomix)\
**Replies:** 6\
**Last updated:** [July 13, 2021, 4:57am UTC](https://forum.aotu.ai/t/video-file-wont-load-in-wsl2/196 "2021-07-13T04:57:11Z")

</div>

Hi Alex, Great work! I installed the brainframe server using Ubuntu 20 WSL2 on windows with docker desktop. The installation was successful. Then I run the brainfraom client (windows), the connection via localhost to b…

---

## [No Space in Device for server in a VM using Hyper-V in windows](https://forum.aotu.ai/t/no-space-in-device-for-server-in-a-vm-using-hyper-v-in-windows/198)

<div class="topic-metadata">

**Author:** [@alex.thiel](https://forum.aotu.ai/u/alex.thiel)\
**Replies:** 1\
**Last updated:** [July 9, 2021, 5:29pm UTC](https://forum.aotu.ai/t/no-space-in-device-for-server-in-a-vm-using-hyper-v-in-windows/198 "2021-07-09T17:29:22Z")

</div>

This message was copied from this github issue. @AbdelsalamHaa on Github: I faced this issue when I’m trying to install the server side into VM created by Hyper-V The error message is attached below failed to regist…

---

## [11、api/statuses 接口](https://forum.aotu.ai/t/11-api-statuses/188)

<div class="topic-metadata">

**Author:** [@senming](https://forum.aotu.ai/u/senming)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 5:47pm UTC](https://forum.aotu.ai/t/11-api-statuses/188 "2021-06-17T17:47:06Z")

</div>

通过api/statuses 接口长连接 ，能不能做到人脸识别每次识别一张人脸就返回一次人脸数据？

---

## ['storage\_id'和'vector encoding'，‘Image encoding'和'identity\_id'](https://forum.aotu.ai/t/storage-id-vector-encoding-image-encoding-identity-id/187)

<div class="topic-metadata">

**Author:** [@senming](https://forum.aotu.ai/u/senming)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 9:00pm UTC](https://forum.aotu.ai/t/storage-id-vector-encoding-image-encoding-identity-id/187 "2021-06-16T21:00:51Z")

</div>

我有一件事想请教大家，就是调用’/api/storage’接口时传递的格式参数是什么，‘storage\_id’和’vector encoding’，‘Image encoding’和’identity\_id’有什么关系。

---

## [如何开展深度合作？比如取消2路视频的限制，定制输出格式等](https://forum.aotu.ai/t/topic/179)

<div class="topic-metadata">

**Author:** [@Jennifer](https://forum.aotu.ai/u/Jennifer)\
**Replies:** 1\
**Last updated:** [May 24, 2021, 4:25pm UTC](https://forum.aotu.ai/t/topic/179 "2021-05-24T16:25:31Z")

</div>

如何开展深度合作？比如取消2路视频的限制，定制输出格式等

---

## [Pipeline with low latency problem](https://forum.aotu.ai/t/pipeline-with-low-latency-problem/172)

<div class="topic-metadata">

**Author:** [@delpanz](https://forum.aotu.ai/u/delpanz)\
**Replies:** 11\
**Last updated:** [April 28, 2021, 6:43pm UTC](https://forum.aotu.ai/t/pipeline-with-low-latency-problem/172 "2021-04-28T18:43:07Z")

</div>

hello ~: with blew configuration, I can not connected to my stream… , could u plz help me on it ? stream address rtsp://\*\*\*:\*\*\*@192.168.2.252:554/h264 pipeline string: rtspsrc location="{url}" latency=0 ! rtph264d…

---

## [How to confirm whether BrainFrame is running an algorithm on HDDL Hardware](https://forum.aotu.ai/t/how-to-confirm-whether-brainframe-is-running-an-algorithm-on-hddl-hardware/169)

<div class="topic-metadata">

**Author:** [@alex.thiel](https://forum.aotu.ai/u/alex.thiel)\
**Replies:** 0\
**Last updated:** [April 13, 2021, 12:35am UTC](https://forum.aotu.ai/t/how-to-confirm-whether-brainframe-is-running-an-algorithm-on-hddl-hardware/169 "2021-04-13T00:35:00Z")

</div>

The purpose of this post is to explain in-depth how BrainFrame tries to load OpenVINO capsules. Short Answer: Check the BrainFrame logs for an error of the following format (link to source code): Failed to load {BACKEN…

---

## [V0.27.0 Client / An unhandled exception occurred while communicating with the BrainFrame server](https://forum.aotu.ai/t/v0-27-0-client-an-unhandled-exception-occurred-while-communicating-with-the-brainframe-server/155)

<div class="topic-metadata">

**Author:** [@Monk-eye](https://forum.aotu.ai/u/Monk-eye)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 4:56pm UTC](https://forum.aotu.ai/t/v0-27-0-client-an-unhandled-exception-occurred-while-communicating-with-the-brainframe-server/155 "2021-02-26T16:56:29Z")

</div>

brainframe.api.bf\_errors.ServerNotReadyError: None: A network exception occurred while communicating with the BrainFrame server Traceback (most recent call last): File “urllib3/connectionpool.py”, line 445, in \_make\_…

---

## [Is there an interface to get the result of preprocessing?](https://forum.aotu.ai/t/is-there-an-interface-to-get-the-result-of-preprocessing/144)

<div class="topic-metadata">

**Author:** [@huanzi](https://forum.aotu.ai/u/huanzi)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 11:14pm UTC](https://forum.aotu.ai/t/is-there-an-interface-to-get-the-result-of-preprocessing/144 "2020-12-22T23:14:42Z")

</div>

Is the preprocessing result stored？ As an application developer，how can i get the result of preprocessing?

---

## [How can I the get context of the video stream about a frame when the capsule running process\_frame?](https://forum.aotu.ai/t/how-can-i-the-get-context-of-the-video-stream-about-a-frame-when-the-capsule-running-process-frame/140)

<div class="topic-metadata">

**Author:** [@huanzi](https://forum.aotu.ai/u/huanzi)\
**Replies:** 1\
**Last updated:** [December 16, 2020, 5:46pm UTC](https://forum.aotu.ai/t/how-can-i-the-get-context-of-the-video-stream-about-a-frame-when-the-capsule-running-process-frame/140 "2020-12-16T17:46:54Z")

</div>

I would get video stream address when capsule running process\_frame interface,but I didn’t find the relevant interface or property 有没有微信交流群?留一个！

[Next page](https://forum.aotu.ai/c/questions/5.md?page=1)
