Summary
% In this example, you created a simple face tracking system that
% automatically detects and tracks a single face. Try changing the input
% video and see if you are able to track a face. If you notice poor
% tracking results, check the Hue channel data to see if there is enough
% contrast between the face region and the background.
%% Reference
% [1] G.R. Bradski "Real Time Face and Object Tracking as a Component of a
% Perceptual User Interface", Proceedings of the 4th IEEE Workshop on
% Applications of Computer Vision, 1998.
%
% [2] Viola, Paul A. and Jones, Michael J. "Rapid Object Detection using a
% Boosted Cascade of Simple Features", IEEE CVPR, 2001.
displayEndOfDemoMessage(mfilename)
------------------------------------
[5] Dealing with Audio file
Reading Audio Files
First, we need to read in the audio files using wavread() into arrays:
[y,Fs] = audioread(filename) reads data from the file named filename,
and returns sampled data, y, and a sample rate for that data, Fs.
Read the data back into MATLAB using audioread.
Play the audio.
### Read only the first 2 seconds.
Play the samples.
the duration is about 13 seconds.
If we want to grab some portion (5-10 sec),
we can use colon (':') like this:
We can plot the signal:
We can also play back using Matlab's built in function sound():
We can play it with higher rate, and if we double it or play
it half of the recording rate:
http://www.bogotobogo.com/Matlab/Matlab_Tutorial_Vector_Array_Audio_Wave_File_Plot_Play.php
Two Channel Audio Signal - New Plot
Summary% In this example, you created a simple face tracking system that% automatically detects and tracks a single face. Try changing the input% video and see if you are able to track a face. If you notice poor% tracking results, check the Hue channel data to see if there is enough% contrast between the face region and the background.%% Reference% [1] G.R. Bradski "Real Time Face and Object Tracking as a Component of a% Perceptual User Interface", Proceedings of the 4th IEEE Workshop on% Applications of Computer Vision, 1998.%% [2] Viola, Paul A. and Jones, Michael J. "Rapid Object Detection using a% Boosted Cascade of Simple Features", IEEE CVPR, 2001.displayEndOfDemoMessage(mfilename)------------------------------------[5] Dealing with Audio file Reading Audio Files First, we need to read in the audio files using wavread() into arrays: [y,Fs] = audioread(filename) reads data from the file named filename, and returns sampled data, y, and a sample rate for that data, Fs. Read the data back into MATLAB using audioread. Play the audio. ### Read only the first 2 seconds. Play the samples. the duration is about 13 seconds. If we want to grab some portion (5-10 sec), we can use colon (':') like this: We can plot the signal: We can also play back using Matlab's built in function sound(): We can play it with higher rate, and if we double it or play it half of the recording rate: http://www.bogotobogo.com/Matlab/Matlab_Tutorial_Vector_Array_Audio_Wave_File_Plot_Play.php Two Channel Audio Signal - New Plot
การแปล กรุณารอสักครู่..

สรุป% ในตัวอย่างนี้คุณสร้างระบบการติดตามใบหน้าที่เรียบง่ายที่% โดยอัตโนมัติและติดตามใบหน้าเดียว ลองเปลี่ยนอินพุตวิดีโอ% และดูว่าคุณสามารถที่จะติดตามใบหน้า ถ้าคุณสังเกตเห็นที่ไม่ดีการติดตามผล% ตรวจสอบข้อมูลช่องเว้เพื่อดูว่ามีเพียงพอตรงกันข้าม% ระหว่างภูมิภาคใบหน้าและพื้นหลัง. %% อ้างอิง% [1] GR Bradski "ใบหน้าแบบ Real Time และติดตามวัตถุที่เป็นชิ้นส่วนหนึ่งของ% ส่วนติดต่อผู้ใช้การรับรู้ "การดำเนินการของการประชุมเชิงปฏิบัติการครั้งที่ 4 IEEE บน% การประยุกต์ใช้คอมพิวเตอร์วิสัยทัศน์ปี1998%% [2] วิโอล่า, พอลเอและโจนส์, ไมเคิลเจ" การตรวจหาวัตถุอย่างรวดเร็วโดยใช้% เพิ่มขึ้นน้ำตกคุณสมบัติง่าย " อีอีอี CVPR 2001 displayEndOfDemoMessage (mfilename) ------------------------------------ [5] ซื้อขาย กับไฟล์เสียงอ่านไฟล์เสียงครั้งแรกที่เราจะต้องอ่านในไฟล์เสียงโดยใช้wavread () ลงในอาร์เรย์: [Y, Fs] = audioread (ชื่อไฟล์) อ่านข้อมูลจากไฟล์ที่ชื่อว่าชื่อไฟล์และผลตอบแทนที่ข้อมูลตัวอย่าง, y, และ อัตราตัวอย่างข้อมูลที่ Fs. อ่านข้อมูลกลับใน MATLAB ใช้ audioread. เล่นเสียง. ### อ่านเพียงครั้งแรก 2 วินาที. เล่นตัวอย่าง. ระยะเวลาประมาณ 13 วินาที. ถ้าเราต้องการที่จะคว้าบางส่วน ( 5-10 วินาที), เราสามารถใช้ลำไส้ใหญ่ (':') เช่นนี้เราสามารถแปลงสัญญาณ: นอกจากนี้เรายังสามารถเล่นโดยใช้ Matlab ที่สร้างขึ้นในฟังก์ชั่นเสียง (): เราสามารถเล่นกับอัตราที่สูงขึ้นและถ้าเราเป็นสองเท่า หรือเล่นมันครึ่งหนึ่งของอัตราการบันทึก: http://www.bogotobogo.com/Matlab/Matlab_Tutorial_Vector_Array_Audio_Wave_File_Plot_Play.php สองช่องสัญญาณเสียง - พล็อตใหม่
การแปล กรุณารอสักครู่..

สรุป
% ในตัวอย่างนี้ คุณได้สร้างหน้าง่ายระบบติดตาม
% ตรวจพบโดยอัตโนมัติและแทร็คหน้าเดียว ลองเปลี่ยนใส่
% วีดีโอ และดูถ้าคุณสามารถติดตามใบหน้า ถ้าคุณสังเกตเห็นการติดตามผลลัพธ์ % ยากจน
, ตรวจสอบข้อมูลช่องสีเพื่อดูว่ามีเพียงพอ
% ความแตกต่างระหว่างหน้าภูมิภาคและพื้นหลัง .
%
% [ 1 ] g.r. อ้างอิงbradski " เวลาจริงหน้าและติดตามวัตถุที่เป็นส่วนประกอบของ
% รับรู้ส่วนติดต่อผู้ใช้ " ครั้งที่ 4 โดยปฏิบัติการ
% คอมพิวเตอร์วิสัยทัศน์ , 2541 .
%
% [ 2 ] วิโอล่า พอล และ โจนส์ , ไมเคิล เจ. อย่างรวดเร็ว " การตรวจจับวัตถุโดยใช้
% เพิ่มขึ้นจากน้ำตกอย่างง่าย คุณลักษณะ " อีอีอี cvpr 2001
displayendofdemomessage ( mfilename )
------------------------------------[ 5 ] จัดการกับไฟล์เสียง
แรกอ่านไฟล์เสียง เราต้องอ่านในไฟล์เสียงที่ใช้ wavread() ลงในอาร์เรย์ :
[ y ] = 6 , audioread ( ชื่อไฟล์ ) อ่านข้อมูลจากไฟล์ชื่อไฟล์และส่งกลับข้อมูลตัวอย่าง
, y , และอัตราตัวอย่างสำหรับข้อมูล FS .
อ่านข้อมูลกลับเข้าไปในโปรแกรม MATLAB โดยใช้ audioread .
เล่นเสียง .
###อ่านเพียงครั้งแรกวินาที 2 .
เล่นตัวอย่าง
ระยะเวลาประมาณ 13 วินาที
ถ้าเราต้องการที่จะคว้าบางส่วน ( 5-10 วินาที ) ,
เราสามารถใช้เครื่องหมาย ' : ' ) แบบนี้ :
เราสามารถแปลงสัญญาณ :
เรายังสามารถเล่นโดยใช้สร้างขึ้นในฟังก์ชัน sound() :
เราสามารถเล่นกับอัตราที่สูงขึ้นและถ้าเราคูณสอง หรือเล่น
ครึ่งของการบันทึกคะแนน :
http://www.bogotobogo .ดอทคอม / โปรแกรม / matlab_tutorial_vector_array_audio_wave_file_plot_play PHP
สองช่องสัญญาณเสียง -
พล็อตใหม่
การแปล กรุณารอสักครู่..
