Giter Club home page Giter Club logo

crowd_vis's People

Contributors

kirigirisuzumiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

crowd_vis's Issues

关于http部署延迟高,https部署页面视频无法更新问题

使用将服务部署至本地服务器后,通过192的方式访问,出现推理视频画面延迟大约在7秒左右,也就是页面显示的并不是最新的视频流画面
当在给服务器添加域名,使用https访问时,视频只能播放第一帧的画面, 随后卡顿,但通过后台日志发现视频流仍在处理

计数参数输出

请问计数功能是模型自带的还是后续添加的,比如说区域进入数量统计

你好!我进入网站显示不了视频,以下是报错

[16/Mar/2023 10:26:03] "GET /num_count HTTP/1.1" 200 4
Internal Server Error: /graph_vis
Traceback (most recent call last):
File "C:\Anaconda3\envs\PP\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Anaconda3\envs\PP\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\admin\Desktop\crowd_vis\crowd_vis\views.py", line 184, in graph_vis
.add('', pie_data, center=['50%', '60%'], radius='70%')
File "C:\Anaconda3\envs\PP\lib\site-packages\pyecharts\charts\basic_charts\pie.py", line 49, in add
elif isinstance(data_pair[0], opts.PieItem):
IndexError: list index out of range
[16/Mar/2023 10:26:03] "GET /graph_vis HTTP/1.1" 500 92862
[16/Mar/2023 10:26:04] "GET /num_count HTTP/1.1" 200 4
[OpenVINO]pp-human/pipeline/model/picodet_v2_s_320_pedestrian\model.pdmodel infer request created
video fps: 0, frame_count: 0
[16/Mar/2023 10:26:12] "GET /num_count HTTP/1.1" 200 4
Thread: 0; frame id: 0
Internal Server Error: /graph_vis
Traceback (most recent call last):
File "C:\Anaconda3\envs\PP\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Anaconda3\envs\PP\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\admin\Desktop\crowd_vis\crowd_vis\views.py", line 184, in graph_vis
.add('', pie_data, center=['50%', '60%'], radius='70%')
File "C:\Anaconda3\envs\PP\lib\site-packages\pyecharts\charts\basic_charts\pie.py", line 49, in add
elif isinstance(data_pair[0], opts.PieItem):
IndexError: list index out of rangesave result to output\test1.mp4

Exception in thread Thread-1:

(crowd_vis) mosaic@mosaic-virtual-machine:/Public/crowd_vis$
(crowd_vis) mosaic@mosaic-virtual-machine:
/Public/crowd_vis$ python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...

python /home/mosaic/Public/crowd_vis/pp-human/pipeline/pipeline.py --config /home/mosaic/Public/crowd_vis/pp-human/pipeline/config/infer_cfg_pphuman.yml --video_file=/home/mosaic/Public/crowd_vis/test1.mp4 --run_mode=openvino --output_dir=output --do_entrance_counting --show_id=1
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/mosaic/Public/crowd_vis/crowd_vis/views.py", line 32, in pp_human_service
subprocess.run(shell)
File "/usr/lib/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python /home/mosaic/Public/crowd_vis/pp-human/pipeline/pipeline.py --config /home/mosaic/Public/crowd_vis/pp-human/pipeline/config/infer_cfg_pphuman.yml --video_file=/home/mosaic/Public/crowd_vis/test1.mp4 --run_mode=openvino --output_dir=output --do_entrance_counting --show_id=1': 'python /home/mosaic/Public/crowd_vis/pp-human/pipeline/pipeline.py --config /home/mosaic/Public/crowd_vis/pp-human/pipeline/config/infer_cfg_pphuman.yml --video_file=/home/mosaic/Public/crowd_vis/test1.mp4 --run_mode=openvino --output_dir=output --do_entrance_counting --show_id=1'

System check identified no issues (0 silenced).
December 31, 2022 - 15:07:18
Django version 3.2.16, using settings 'crowd_vis.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[31/Dec/2022 15:07:47] "GET / HTTP/1.1" 200 49167
[31/Dec/2022 15:07:47] "GET /static/css/index01.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/css/index.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/css/BigData.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/bstable/css/bootstrap.min.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/css/Security_operation.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/Home_page.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/jquery.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/laydate.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/artDialog/skins/default.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/index.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/bstable/js/bootstrap-table-zh-CN.min.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/jquery.pagination.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/bstable/js/bootstrap.min.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/bstable/css/bootstrap-table.css HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/bstable/js/bootstrap-table.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/artDialog/artDialog.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/echarts-all.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/video/img.png HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/js/artDialog/plugins/iframeTools.source.js HTTP/1.1" 304 0
[31/Dec/2022 15:07:47] "GET /static/video/video.jpg HTTP/1.1" 304 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.