Skip to main content

DataShow

author: andy.yang, lan.zhang

email: andy.yang@deftech.com.cn lan.zhang@deftech.com.cn

show the data(include detections-mem, targets-mem, warning-signal) in one ui, and also display the camera at the same time in the future.

---------------------Attention:-----------------------------

the current IO is uart, so you can't use peak-can or usbcan2.

For user, you just obey rule one and five.

Must: you shoudl set the baudrate of uart to 115200 in calterah sdk.

一、environment and dependencies

  • python: 3.7.9
  • os: win10(not test in linux, but this software should be cross-platform).
  • see ./requrements.txt which is generated with the command: pip freeze > requirements.txt

Besides, i use Peakcan(not can-use box) to get the data from radar. So in order to show data by CAN-BUS(inline or record), you also need to install Peakcan driver. See link: https://www.peak-system.com/

二、How to install DataShow?

  1. install the Peak-Can driver. See link: https://www.peak-system.com/, and dowload, install PEAK-System_Driver-Setup.zip.
  2. pip install DataShow
  3. go to the python scripts directory and find DataShow_gui.exe, then click and enjoy it.

Notice: the recorded data will be stored in C:\data_records\

三、develop in virtual environment

comply the commands below:

  1. python3 -m venv env
  2. set the above virtual environment as your work environment
  3. pip install -r requirements.txt
  4. create a file which its type(or suffix) should be ".pth" in ./env/Lib/site-packages.For example, the file names my.pth.
  5. fill the above file with the path of this project.For example, "C:\Projects\data_replay" in my PC.
  6. enjoy yourself.

四、package-commands

  1. python setup.py bdist_wheel
  2. twine upload dist/*

五、Install

Please choose 5.1 or 5.2 depending on first install or upgrade.

5.1 first install

  1. create a directory which name "pip" if not in path: C:\Users\andy\AppData\Roaming. notice: change the andy to your user-name
  2. create a file which name "pip.ini" in path: C:\Users\andy\AppData\Roaming\pip.notice: change the andy to your user-name
  3. write the lines below in pip.ini
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
  1. open a shell and inpurt commands: pip install --upgrade DataShow
  2. input commands: ip install -i https://pypi.org/simple --upgrade DataShow

5.2 upgrade

六、Use

  1. go to directory: C:\Users\andy\AppData\Local\Programs\Python\Python37\Scripts. notice: change the andy to your user-name
  2. create a desktop shortcut of DataShow_gui.exe
  3. then enjoy youself.

Metadata

Release files for DataShow 6.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for DataShow 6.10.1
File Interpreter ABI Platform
DataShow-6.10.1-py3-none-any.whl Python 3 none any Details

Release files / DataShow-6.10.1-py3-none-any.whl

Download URL DataShow-6.10.1-py3-none-any.whl
Size 229.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3722f7e6c56a828008b1a77bf0483bee6d3f2ceb2dc71a1c078ec1c800174f29
BLAKE2b-256 checksum
How to use checksums
293170e80b0d21ac810a8cbd9ae70879c97cc03f496bf0387cbdd00bf2e7e1f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

Release history Release notifications | RSS feed

This release

6.10.1 This release

1 release file

6.10.0

1 release file

6.9.1

1 release file

6.9.0

1 release file

6.8.0

1 release file

6.7.2

1 release file

6.7.1

1 release file

6.7.0

1 release file

6.6.0

1 release file

6.5.0

1 release file

6.4.0

1 release file

6.3.0

1 release file

6.2.0

1 release file

6.1.0

1 release file

6.0.0

1 release file

5.0.0

1 release file

2.4.0

1 release file

2.3.0

1 release file

2.2.0

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page