Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Xilinx
Machine Learning
Creating a Vitis-AI GStreamer Plugin
Commits
c79219bd
Commit
c79219bd
authored
Aug 28, 2020
by
Simpson, Thomas
Browse files
Added USB webcam & Displayport scripts
parent
c12eb3de
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/usbcam_to_dp/dp_display_480p.sh
0 → 100755
View file @
c79219bd
### Set the display resolution to 480p
export
DISPLAY
=
:0.0
xrandr
--output
DP-1
--mode
640x480
xset
-dpms
modetest
-D
fd4a0000.zynqmp-display
-s
42@40:640x480-60@AR24 &
sleep
1
modetest
-D
fd4a0000.zynqmp-display
-w
39:alpha:0
scripts/usbcam_to_dp/face_person_detect.sh
0 → 100755
View file @
c79219bd
gst-launch-1.0
\
v4l2src
device
=
/dev/video0
!
\
video/x-raw,
width
=
640,
height
=
360,
format
=
YUY2,
framerate
=
30/1
!
\
queue
!
\
videoconvert
!
\
video/x-raw,
format
=
BGR
!
\
queue
!
\
vaifacedetect
!
\
vaipersondetect
!
\
queue
!
\
videoscale
!
\
video/x-raw,
width
=
640,
height
=
480
!
\
fpsdisplaysink video-sink
=
"kmssink bus-id=fd4a0000.zynqmp-display plane-id=38"
sync
=
false
fullscreen-overlay
=
true
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment