D. ImplementationThe implementation of our web-based video streamingap การแปล - D. ImplementationThe implementation of our web-based video streamingap ไทย วิธีการพูด

D. ImplementationThe implementation

D. Implementation
The implementation of our web-based video streaming
application is illustrated in Fig. 6. The core of the application
is composed of two ActionScript classes. The main class is
for the main application and the ALVAR class is for
exchanging data with ALVAR Flash Library. The main class
is responsible for loading the configuration file, initializing a
webcam and the application in general and processing each
frame. The ALVAR class is used only for passing data to
and receiving it from ALVAR Flash Library.
The configuration file used by the main class is in XML
format. This was chosen because it is a very common format
and also because Flash has native support for reading and
parsing XML. The structure of the configuration file is
intuitive and easily extendable. The basic information
containing the two timer delays mentioned above is located
under a dedicated XML element, while the marker
information is located under another element. The element
for the basic information contains an individual element for
each information item. Similarly, the element for each
marker contains elements for each marker’s information
item. All marker elements are listed under the marker
information element. Additional elements, which can be read
by the application, can be easily added to the structure,
enabling the application to be extendable with minimal
effort.
Pose and position information is received from ALVAR
Flash Library as a transformation matrix, which is a 4 by 4
matrix. This format is also used by the 3D plane for
representing its pose and position. Thus, the matrix received
from ALVAR Flash Library can be directly set as the 3D
plane’s new transformation matrix without any additional
processing.
The transformation matrix is also used when the 3D
plane is presented so that it faces the camera at all times
(billboarding). In that case, the transformation matrix must
be modified before it is applied to the 3D plane.
Streaming a video in Flash is a straightforward process.
Flash has good support for initiating and controlling a
streaming session, including a set of events for informing of
any changes in the stream’s status. In addition, the received
stream can be set as the 3D plane texture directly without
any pre-processing.
The ALVAR class acts as the interface to ALVAR Flash
Library, as mentioned above. It is responsible for providing
webcam frame data to ALVAR Flash Library, which it does
by utilizing shared memory space, as discussed in Section III
B. The ALVAR class allocates the required memory space in
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
D. ดำเนินงานของเราบนเว็บวิดีโอสตรีมมิ่งแอพลิเคชันจะแสดงใน Fig. 6 หลักของแอพลิเคชันจะประกอบด้วย ActionScript 2 ชั้น เรียนหลักสำหรับโปรแกรมประยุกต์หลักและ ALVAR ชั้นเป็นแลกเปลี่ยนข้อมูลกับ Flash ALVAR ไลบรารี ชั้นหลักรับผิดชอบสำหรับการโหลดแฟ้มการกำหนดค่า การเริ่มต้นการเว็บแคม และโปรแกรมประยุกต์ทั่วไป และประมวลผลแต่ละเฟรม คลาส ALVAR เป็นใช้สำหรับส่งข้อมูลไปและรับจากไลบรารีแฟลช ALVARแฟ้มการกำหนดค่าที่ใช้คลาสหลักเป็น XMLรูปแบบการ นี้ถูกเลือกเนื่องจากเป็นรูปแบบทั่วไปมากและเนื่องจากแฟลชสนับสนุนพื้นเมืองสำหรับการอ่าน และการแยกวิเคราะห์ XML โครงสร้างของแฟ้มการกำหนดค่าใช้งานง่าย และได้ขยาย ข้อมูลพื้นฐานประกอบด้วยความล่าช้าดังกล่าวข้างต้นเป็นตัวจับเวลาที่สองภายใต้การเฉพาะองค์ประกอบ XML ในขณะที่เครื่องหมายข้อมูลจะอยู่ภายใต้องค์ประกอบอื่น องค์ประกอบสำหรับข้อมูลพื้นฐานประกอบด้วยองค์ประกอบสำหรับแต่ละรายการข้อมูลแต่ละ ในทำนองเดียวกัน องค์ประกอบสำหรับแต่ละองค์ประกอบข้อมูลแต่ละเครื่องหมายประกอบด้วยเครื่องหมายสินค้า แสดงองค์ประกอบเครื่องหมายทั้งหมดภายใต้เครื่องหมายองค์ประกอบข้อมูล องค์ประกอบที่เพิ่มเติม ที่สามารถอ่านได้โดยโปรแกรมประยุกต์ สามารถได้เพิ่มโครงสร้างเปิดใช้งานแอพลิเคชันจะขยาย ด้วยน้อยที่สุดความพยายามข้อมูลที่ก่อให้เกิดและตำแหน่งที่ได้รับจาก ALVARไลบรารีแฟลชเป็นเมทริกซ์การแปลง ที่ 4 จาก 4เมตริกซ์การ รูปแบบนี้ยังถูกใช้ โดยเครื่องบิน 3D สำหรับแทนก่อให้เกิดและตำแหน่ง ดังนั้น เมตริกซ์ที่ได้รับจากแฟลช ALVAR ไลบรารีคุณสามารถโดยตรงตั้งเป็น 3Dของเครื่องบินใหม่แปลงเมตริกซ์โดยไม่ต้องมีเพิ่มเติมการประมวลผลเมตริกซ์การแปลงก็เมื่อใช้ 3Dเครื่องบินนำเสนอเพื่อให้มันหันหน้ากล้องตลอดเวลา(billboarding) ในกรณี เมตริกซ์การแปลงต้องสามารถปรับเปลี่ยนก่อนที่มันจะใช้กับเครื่องบิน 3Dสตรีมมิ่งวิดีโอใน Flash เป็นกระบวนการที่ตรงไปตรงมาแฟลชมีการสนับสนุนที่ดีสำหรับการเริ่มต้น และควบคุมการงานสตรีมมิ่ง รวมถึงชุดของเหตุการณ์สำหรับการแจ้งของเปลี่ยนแปลงในสถานะของกระแสข้อมูล นอกจากนี้ ที่ได้รับสามารถตั้งกระแสเป็นเครื่องบิน 3D พื้นผิวโดยตรงโดยไม่ต้องใด ๆ ก่อนการประมวลผลALVAR คลาสจะทำหน้าที่เป็นอินเทอร์เฟสสำหรับแฟลช ALVARห้องสมุด ดังกล่าวข้างต้น รับผิดชอบให้ข้อมูลเฟรมเว็บแคม ALVAR แฟลชไลบรารี ซึ่งไม่โดยใช้พื้นที่หน่วยความจำที่ใช้ร่วมกัน ตามที่อธิบายไว้ในส่วนที่ IIIคลาส B. ALVAR จัดสรรพื้นที่หน่วยความจำที่จำเป็นใน
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
D. Implementation
The implementation of our web-based video streaming
application is illustrated in Fig. 6. The core of the application
is composed of two ActionScript classes. The main class is
for the main application and the ALVAR class is for
exchanging data with ALVAR Flash Library. The main class
is responsible for loading the configuration file, initializing a
webcam and the application in general and processing each
frame. The ALVAR class is used only for passing data to
and receiving it from ALVAR Flash Library.
The configuration file used by the main class is in XML
format. This was chosen because it is a very common format
and also because Flash has native support for reading and
parsing XML. The structure of the configuration file is
intuitive and easily extendable. The basic information
containing the two timer delays mentioned above is located
under a dedicated XML element, while the marker
information is located under another element. The element
for the basic information contains an individual element for
each information item. Similarly, the element for each
marker contains elements for each marker’s information
item. All marker elements are listed under the marker
information element. Additional elements, which can be read
by the application, can be easily added to the structure,
enabling the application to be extendable with minimal
effort.
Pose and position information is received from ALVAR
Flash Library as a transformation matrix, which is a 4 by 4
matrix. This format is also used by the 3D plane for
representing its pose and position. Thus, the matrix received
from ALVAR Flash Library can be directly set as the 3D
plane’s new transformation matrix without any additional
processing.
The transformation matrix is also used when the 3D
plane is presented so that it faces the camera at all times
(billboarding). In that case, the transformation matrix must
be modified before it is applied to the 3D plane.
Streaming a video in Flash is a straightforward process.
Flash has good support for initiating and controlling a
streaming session, including a set of events for informing of
any changes in the stream’s status. In addition, the received
stream can be set as the 3D plane texture directly without
any pre-processing.
The ALVAR class acts as the interface to ALVAR Flash
Library, as mentioned above. It is responsible for providing
webcam frame data to ALVAR Flash Library, which it does
by utilizing shared memory space, as discussed in Section III
B. The ALVAR class allocates the required memory space in
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
d . การใช้ของเรา

โปรแกรมวิดีโอสตรีมมิ่งบนเว็บจะแสดงในรูปที่ 6 หลักของโปรแกรม
ประกอบด้วยสอง ActionScript ในชั้นเรียน คลาสหลักคือ
สำหรับโปรแกรมหลักและชั้นเรียน อัลวา คือ
แลกเปลี่ยนข้อมูลกับห้องสมุดแฟลชอัลวาอัล
คลาสหลักรับผิดชอบโหลดแฟ้มการกำหนดค่าเริ่มต้นเป็น
เว็บแคมและโปรแกรมทั่วไปและการประมวลผลแต่ละ
กรอบ คลาส อัลวา ใช้สำหรับการผ่านข้อมูล

และได้รับมันจากห้องสมุดแฟลช Alvar .
การตั้งค่าแฟ้มที่ใช้โดยคลาสหลักที่อยู่ในรูปแบบ XML

นี้ได้รับเลือกเพราะมันเป็นรูปแบบทั่วไปมาก
และยังเป็นเพราะแฟลชที่มีการสนับสนุนพื้นเมืองสำหรับการอ่านและ
แยกวิเคราะห์ XML โครงสร้างของแฟ้มปรับแต่ง
ใช้งานง่ายและสามารถขยายได้อย่างง่ายดาย ข้อมูลพื้นฐาน
ที่มีสองตัวตั้งเวลาความล่าช้าดังกล่าวข้างต้นอยู่ภายใต้องค์ประกอบ XML
โดยเฉพาะ ในขณะที่ข้อมูลเครื่องหมาย
ตั้งอยู่ภายใต้องค์ประกอบอื่น องค์ประกอบ
สำหรับข้อมูลพื้นฐานประกอบด้วยองค์ประกอบแต่ละ
แต่ละรายการของข้อมูล ในทำนองเดียวกัน ธาตุแต่ละธาตุ
เครื่องหมายประกอบด้วยรายการข้อมูล
เป็นเครื่องหมายแต่ละองค์ประกอบทั้งหมดจะอยู่ภายใต้ข้อมูลเครื่องหมายเครื่องหมาย
องค์ประกอบ ส่วนประกอบเพิ่มเติม ซึ่งสามารถอ่าน
โดยโปรแกรมที่สามารถเพิ่มได้อย่างง่ายดายโครงสร้างช่วยให้โปรแกรมที่จะยืด
กับความพยายามน้อยที่สุด
.
ท่าและตำแหน่งข้อมูลที่ได้รับจากห้องสมุดแฟลช Alvar
เป็นการแปลงเมทริกซ์ซึ่งเป็น 4 โดย 4
เมทริกซ์ รูปแบบนี้ถูกใช้โดยเครื่องบิน 3D สำหรับ
เป็นตัวแทนของท่าและตำแหน่ง ดังนั้นเมทริกซ์ได้รับ
จากห้องสมุดแฟลช อัลวา สามารถตรงตั้งเป็น 3D
เครื่องบินใหม่โดยไม่มีการประมวลผลการแปลงเมทริกซ์เพิ่มเติมใด ๆ
.
การแปลงเมทริกซ์ยังใช้เมื่อเครื่องบิน 3D
นำเสนอเพื่อให้ใบหน้ากล้องตลอดเวลา
( billboarding ) ในกรณีนั้น การแปลงเมทริกซ์ต้อง
แก้ไขได้ก่อนที่จะใช้กับเครื่องบิน 3D .
สตรีมมิ่งวิดีโอใน Flash เป็นขั้นตอนตรงไปตรงมา
แฟลชได้สนับสนุนที่ดีสำหรับการเริ่มต้นและการควบคุม
สตรีมมิ่งเซสชัน รวมถึงชุดของเหตุการณ์สำหรับการแจ้งการเปลี่ยนแปลงใด ๆของ
ของกระแสสังคม นอกจากนี้ ได้รับ
กระแสสามารถตั้งค่าเป็นเครื่องบิน 3D พื้นผิวโดยตรงโดยไม่มีการประมวลผลใด ๆ

.โดย อัลวา ชั้นทำหน้าที่เป็นอินเตอร์เฟซไปยังห้องสมุดแฟลช
อัลวา ตามที่ได้กล่าวข้างต้น มันเป็นหน้าที่ในการให้
เฟรมข้อมูลห้องสมุดแฟลชเว็บแคม อัลวา ซึ่งมัน
โดยใช้ร่วมกันพื้นที่หน่วยความจำ ตามที่กล่าวไว้ในมาตรา 3
B คลาส อัลวา จัดสรรพื้นที่ในหน่วยความจำที่ต้องการ
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2024 I Love Translation. All reserved.

E-mail: