Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/.DS_Store
detect.py
detect-car.py
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/edge-ai-car-detect.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added __pycache__/camera_list.cpython-38.pyc
Binary file not shown.
Binary file added __pycache__/camera_list_test_20.cpython-38.pyc
Binary file not shown.
Binary file added __pycache__/onnx_to_tensorrt.cpython-38.pyc
Binary file not shown.
22 changes: 22 additions & 0 deletions camera_list.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cameras = [
{
'url': 'rtsp://admin:L2EC70CF@d5030edfff7a.sn.mynetname.net:554/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Gate',
'roi': (250, 0, 450, 400)
},
{
'url': 'rtsp://admin:L268C6B7@d5030edfff7a.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Parking',
'roi': (100, 50, 400, 400)
},
{
'url': 'rtsp://admin:L201353B@hcr086zs3b5.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'LBB Rooftop',
'roi': (150, 20, 500, 500)
},
{
'url': 'rtsp://user1:1234abcd@115.79.213.124:10554/streaming/channels/502',
'name': '(HIK) PNA Tennis',
'roi': (50, 200, 800, 250)
}
]
102 changes: 102 additions & 0 deletions camera_list_test_20.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
cameras = [
{
'url': 'rtsp://admin:L2EC70CF@d5030edfff7a.sn.mynetname.net:554/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Gate',
'roi': (250, 0, 450, 400)
},
{
'url': 'rtsp://admin:L268C6B7@d5030edfff7a.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Parking',
'roi': (100, 50, 400, 400)
},
{
'url': 'rtsp://admin:L201353B@hcr086zs3b5.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'LBB Rooftop',
'roi': (150, 20, 500, 500)
},
{
'url': 'rtsp://user1:1234abcd@115.79.213.124:10554/streaming/channels/502',
'name': '(HIK) PNA Tennis',
'roi': (50, 200, 800, 250)
},
{
'url': 'rtsp://admin:L2EC70CF@d5030edfff7a.sn.mynetname.net:554/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Gate 2',
'roi': (250, 0, 450, 400)
},
{
'url': 'rtsp://admin:L268C6B7@d5030edfff7a.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Parking 2',
'roi': (100, 50, 400, 400)
},
{
'url': 'rtsp://admin:L201353B@hcr086zs3b5.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'LBB Rooftop 2',
'roi': (150, 20, 500, 500)
},
{
'url': 'rtsp://user1:1234abcd@115.79.213.124:10554/streaming/channels/502',
'name': '(HIK) PNA Tennis 2',
'roi': (50, 200, 800, 250)
},
{
'url': 'rtsp://admin:L2EC70CF@d5030edfff7a.sn.mynetname.net:554/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Gate 3',
'roi': (250, 0, 450, 400)
},
{
'url': 'rtsp://admin:L268C6B7@d5030edfff7a.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Parking 3',
'roi': (100, 50, 400, 400)
},
{
'url': 'rtsp://admin:L201353B@hcr086zs3b5.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'LBB Rooftop 3',
'roi': (150, 20, 500, 500)
},
{
'url': 'rtsp://user1:1234abcd@115.79.213.124:10554/streaming/channels/502',
'name': '(HIK) PNA Tennis 3',
'roi': (50, 200, 800, 250)
},
{
'url': 'rtsp://admin:L2EC70CF@d5030edfff7a.sn.mynetname.net:554/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Gate 4',
'roi': (250, 0, 450, 400)
},
{
'url': 'rtsp://admin:L268C6B7@d5030edfff7a.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Parking 4',
'roi': (100, 50, 400, 400)
},
{
'url': 'rtsp://admin:L201353B@hcr086zs3b5.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'LBB Rooftop 4',
'roi': (150, 20, 500, 500)
},
{
'url': 'rtsp://user1:1234abcd@115.79.213.124:10554/streaming/channels/502',
'name': '(HIK) PNA Tennis 4',
'roi': (50, 200, 800, 250)
},
{
'url': 'rtsp://admin:L2EC70CF@d5030edfff7a.sn.mynetname.net:554/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Gate 5',
'roi': (250, 0, 450, 400)
},
{
'url': 'rtsp://admin:L268C6B7@d5030edfff7a.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'UVK Parking 5',
'roi': (100, 50, 400, 400)
},
{
'url': 'rtsp://admin:L201353B@hcr086zs3b5.sn.mynetname.net:556/cam/realmonitor?channel=1&subtype=1',
'name': 'LBB Rooftop 5',
'roi': (150, 20, 500, 500)
},
{
'url': 'rtsp://user1:1234abcd@115.79.213.124:10554/streaming/channels/502',
'name': '(HIK) PNA Tennis 5',
'roi': (50, 200, 800, 250)
}
]
197 changes: 0 additions & 197 deletions detect.py

This file was deleted.

Loading