12-12-2016, 07:49 PM
Merhaba herkese,
OpenCV3.1.0 kurulumunu yaptım cihaza. Ancak Raspberry pi'nin kendi kamerasını kullanırken samples içindeki video.py dosyasını çalıştırdığımda
"Video capture sample.
Sample shows how VideoCapture class can be used to acquire video
frames from a camera of a movie file. Also the sample provides
an example of procedural video generation by an object, mimicking
the VideoCapture interface (see Chess class).
'create_capture' is a convinience function for capture creation,
falling back to procedural video in case of error.
Usage:
video.py [--shotdir <shot path>] [source0] [source1] ...'
sourceN is an
- integer number for camera capture
- name of video file
- synth:<params> for procedural video
Synth examples:
synth:bg=../data/lena.jpg:noise=0.1
synth:class=chess:bg=../data/lena.jpg:noise=0.1
ize=640x480
Keys:
ESC - exit
SPACE - save current frame to <shot path> directory
Warning: unable to open video source: 0
(capture 0:1281): Gtk-WARNING **: cannot open display:"
Hatası veriyor. Ne yapmam gerekiyor bilen var mı.
Şimdiden teşekkürler.
OpenCV3.1.0 kurulumunu yaptım cihaza. Ancak Raspberry pi'nin kendi kamerasını kullanırken samples içindeki video.py dosyasını çalıştırdığımda
"Video capture sample.
Sample shows how VideoCapture class can be used to acquire video
frames from a camera of a movie file. Also the sample provides
an example of procedural video generation by an object, mimicking
the VideoCapture interface (see Chess class).
'create_capture' is a convinience function for capture creation,
falling back to procedural video in case of error.
Usage:
video.py [--shotdir <shot path>] [source0] [source1] ...'
sourceN is an
- integer number for camera capture
- name of video file
- synth:<params> for procedural video
Synth examples:
synth:bg=../data/lena.jpg:noise=0.1
synth:class=chess:bg=../data/lena.jpg:noise=0.1

Keys:
ESC - exit
SPACE - save current frame to <shot path> directory
Warning: unable to open video source: 0
(capture 0:1281): Gtk-WARNING **: cannot open display:"
Hatası veriyor. Ne yapmam gerekiyor bilen var mı.
Şimdiden teşekkürler.