Skip to content

Commit 45af4b0

Browse files
committed
Merge branch 'releases/1.7'
2 parents c00ff6f + 49e0adf commit 45af4b0

45 files changed

Lines changed: 4107 additions & 1342 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.pyc
33
*.pyo
44
*.egg-info/
5+
__pycache__/
56

67
# Location of built documentation
78
site/

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@
44

55
------------------------------------------------
66

7-
### Beta Release: v1.7-dev1 (February 2, 2025)
8-
9-
The latest beta of DVR-Scan includes a new GUI. See [the release page](https://github.com/Breakthrough/DVR-Scan/releases/tag/v1.7-dev1) for download links and screenshots. Feedback is most welcome (see issue [#198](https://github.com/Breakthrough/DVR-Scan/issues/198)).
10-
11-
![GUI Beta Screenshot](https://github.com/user-attachments/assets/6d6bb509-f40c-48ba-95d9-a7912935e9eb)
12-
13-
------------------------------------------------
14-
15-
### Latest Release: v1.6.2 (December 17, 2024)
7+
### Latest Release: v1.7 (February 28, 2025)
168

179
**Website**: [dvr-scan.com](https://www.dvr-scan.com)
1810

@@ -30,9 +22,17 @@ DVR-Scan is a command-line application that **automatically detects motion event
3022

3123
pip install dvr-scan[opencv] --upgrade
3224

33-
Windows builds are also available on [the Downloads page](https://www.dvr-scan.com/download/).
25+
Windows builds (installer + portable) are also available on [the Downloads page](https://www.dvr-scan.com/download/).
26+
27+
## Quickstart (UI)
28+
29+
Start DVR-Scan (run `dvr-scan-app` or click the app shortcut), **Add** your input videos, and hit **Start**:
30+
31+
<img alt="main app window" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/app-main-window.jpg" width="480"/>
32+
33+
See the [User Guide](https://www.dvr-scan.com/guide/) for a more comprehensive overview.
3434

35-
## Quickstart
35+
## Quickstart (CLI)
3636

3737
Scan `video.mp4` (separate clips for each event):
3838

@@ -42,7 +42,7 @@ Select a region to scan using [the region editor](https://www.dvr-scan.com/guide
4242

4343
dvr-scan -i video.mp4 -r
4444

45-
<img alt="example of region editor" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.6/docs/assets/region-editor-mask.jpg" width="480"/>
45+
<img alt="example of region editor" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/region-editor-mask.jpg" width="480"/>
4646

4747
Select a region to scan using command line (list of points as X Y):
4848

@@ -52,7 +52,7 @@ Draw boxes around motion:
5252

5353
dvr-scan -i video.mp4 -bb
5454

55-
<img alt="example of bounding boxes" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.6/docs/assets/bounding-box.gif" width="480"/>
55+
<img alt="example of bounding boxes" src="https://raw.githubusercontent.com/Breakthrough/DVR-Scan/releases/1.7/docs/assets/bounding-box.gif" width="480"/>
5656

5757
Use `ffmpeg` to extract events:
5858

appveyor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ deploy:
2727
url: https://app.signpath.io/API/v1/f2efa44c-5b5c-45f2-b44f-8f9dde708313/Integrations/AppVeyor?ProjectSlug=DVR-Scan&SigningPolicySlug=release-signing
2828
authorization:
2929
secure: FBgWCaxCCKOqc2spYf5NGWSNUGLbT5WeuC5U0k4Of1Ids9n51YWxhGlMyzLbdNBFe64RUcOSzk/N3emlQzbsJg==
30-
on:
31-
APPVEYOR_REPO_TAG: true # keep casing this way for Linux builds where variables are case-sensitive
30+
# on:
31+
# APPVEYOR_REPO_TAG: true # keep casing this way for Linux builds where variables are case-sensitive
3232

3333
install:
3434
- echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -66,7 +66,7 @@ install:
6666
- appveyor DownloadFile https://www.advancedinstaller.com/downloads/advinst.msi
6767
- msiexec /i advinst.msi /qn
6868
# TODO: Determine the path to Advanced Installer more programatically.
69-
- 'SET PATH=%PATH%;C:\\Program Files (x86)\\Caphyon\\Advanced Installer 22.3\\bin\\x86'
69+
- 'SET PATH=%PATH%;C:\\Program Files (x86)\\Caphyon\\Advanced Installer 22.4\\bin\\x86'
7070
# License path must be absolute
7171
- AdvancedInstaller.com /RegisterOffline "%cd%\license65.dat"
7272
# Create MSI installer
@@ -80,7 +80,8 @@ install:
8080
- cd dist
8181
- move installer\DVR-Scan-*.msi .
8282
- cp dvr-scan\dvr-scan.exe .
83-
- 7z a dvr-scan-signed.zip dvr-scan.exe DVR-Scan-*.msi
83+
- cp dvr-scan\dvr-scan-app.exe .
84+
- 7z a dvr-scan-signed.zip dvr-scan.exe dvr-scan-app.exe DVR-Scan-*.msi
8485
- cd ..
8586

8687
test_script:
@@ -93,6 +94,7 @@ test_script:
9394
- cd dist/dvr-scan
9495
- dvr-scan.exe --version
9596
- dvr-scan.exe -i ../../tests/resources/simple_movement.mp4 -so -df 4 -et 100
97+
- dvr-scan-app.exe --version
9698

9799
artifacts:
98100
# Portable ZIP

dist/dvr-scan.spec

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,45 @@ cli_exe = EXE(cli_pyz,
3232
version='.version_info',
3333
icon='../dvr_scan/dvr-scan.ico')
3434

35-
coll = COLLECT(cli_exe,
35+
app = Analysis(['../dvr_scan/app/__main__.py'],
36+
pathex=['.'],
37+
binaries=None,
38+
datas=[
39+
('../dvr_scan/dvr-scan.ico', 'dvr_scan'),
40+
('../dvr_scan/dvr-scan-logo.png', 'dvr_scan'),
41+
('../dvr_scan/LICENSE*', 'dvr_scan'),
42+
],
43+
hiddenimports=[],
44+
hookspath=[],
45+
runtime_hooks=[],
46+
excludes=["av"],
47+
win_no_prefer_redirects=False,
48+
win_private_assemblies=False,
49+
cipher=block_cipher)
50+
51+
app_pyz = PYZ(app.pure, app.zipped_data,
52+
cipher=block_cipher)
53+
54+
app_exe = EXE(app_pyz,
55+
app.scripts,
56+
exclude_binaries=True,
57+
name='dvr-scan-app',
58+
debug=False,
59+
strip=False,
60+
upx=True,
61+
console=False,
62+
version='.version_info',
63+
icon='../dvr_scan/dvr-scan.ico')
64+
65+
coll = COLLECT(
66+
cli_exe,
3667
cli.binaries,
3768
cli.zipfiles,
3869
cli.datas,
70+
app_exe,
71+
app.binaries,
72+
app.zipfiles,
73+
app.datas,
3974
strip=False,
4075
upx=True,
4176
name='dvr-scan')

0 commit comments

Comments
 (0)