1 / 81

235015, 305450 Artificial Intelligence ปัญญาประดิษฐ์ 3(2-2-5)

235015, 305450 Artificial Intelligence ปัญญาประดิษฐ์ 3(2-2-5). สัปดาห์ที่ 1 ขั้นตอนวิธีเชิงพันธุกรรม (Genetic Algorithm). Outline. 1. Objectives. 2. What is Genetic Algorithm ?. p. 3. Genetic Algorithm Principle. Genetic Algorithm & Application. 4. Objectives.

Download Presentation

235015, 305450 Artificial Intelligence ปัญญาประดิษฐ์ 3(2-2-5)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 235015, 305450Artificial Intelligenceปัญญาประดิษฐ์3(2-2-5) สัปดาห์ที่ 1 • ขั้นตอนวิธีเชิงพันธุกรรม (Genetic Algorithm)

  2. Outline 1 Objectives 2 What is Genetic Algorithm ? p 3 Genetic Algorithm Principle Genetic Algorithm & Application 4

  3. Objectives • เพื่อให้นิสิตรู้และเข้าใจในกระบวนการทางพันธุกรรมศาสตร์ • เพื่อให้นิสิตเรียนรู้และเข้าใจเกี่ยวความสัมพันธ์ของกระบวนการทางพันธุกรรมศาสตร์กับงานด้านคอมพิวเตอร์ • เพื่อให้นิสิตสามารถประยุกต์ใช้ของกระบวนการทางพันธุกรรมศาสตร์ เพื่อแก้ปัญหาโจทย์ประยุกต์ด้านคอมพิวเตอร์ได้

  4. Outline 1 Objectives 2 What is Genetic Algorithm ? p 3 Genetic Algorithm Principle Genetic Algorithm & Application 4

  5. What is Genetic Algorithm ? ไทย: หลักการและประวัติของปัญญาประดิษฐ์ ปริภูมิสถานะและการค้นหา ขั้นตอนวิธีการค้นหาการแทนความรู้โดยใช้ตรรกะเพรดิเคต วิศวกรรมความรู้ โปรล็อกเบื้องต้น การประมวลผลภาษาธรรมชาติเบื้องต้น การเรียนรู้ของเครื่องจักร โครงข่ายประสาทเทียม ขั้นตอนวิธีเชิงพันธุกรรม หุ่นยนต์ อังกฤษ: -

  6. Outline 1 Objectives 2 What is Genetic Algorithm ? p 3 Genetic Algorithm Principle Genetic Algorithm & Application 4

  7. Genetic Algorithm Process

  8. Overview of object tracking system Input data Tracking Method Output data Trajectory Tracking Algorithm 100 frames Graph of distance100 frames 3

  9. The trajectory-based ball detection and tracking Input data Frames Sequence Output data

  10. How to separate the ball ?

  11. (0,0) (X3,Y3,D3) (X1,Y1,D1) (X2,Y2,D2) (X4,Y4,D4) (X5,Y5,D5) (X6,Y6,D6) 14

  12. Ball Candidates Representation 10 1 2 10 2 1 15

  13. Initial Population

  14. Reference Frame Data

  15. Fitness Value Evaluation • Where=Euclidean Distance = X-Coordinate = Y-Coordinate

  16. Fitness value estimation • Where=Fitness value per point or frame = Distance between frame = Number of population = Number of frame 46

  17. Select the Best Population Best Population 8 Chromosome

  18. Crossover operator 5 6 1 1 1 4 7 1 6 Possible cross point 4 1 5 Random 20 Chromosome for Crossing Over

  19. Mutation operator Random 8 Mutation Chromosome

  20. Random operator 4 New Random Chromosome

  21. Replace all Offspring in New Generation 8 + 20 + 8 + 4 = 40 ?

  22. Outline 1 Objectives 2 What is Genetic Algorithm ? p 3 Genetic Algorithm Principle Genetic Algorithm & Application 4

  23. Overview of object tracking system Input data Tracking Method Output data Trajectory Tracking Algorithm 100 frames Graph of distance100 frames 3

  24. How to classify ball from the other objects? 10

  25. Filtering process • The ball candidate objects can be detected by 4 Boolean Function of sieve processes, there are: • Color range filter ->(H, S, V) • Line filter • Shape filter • Size filter 11

  26. What is the candidate objects? • Where=Boolean Function of Candidate Objects = Boolean Function of All Objects in Frame 12

  27. Ball candidates representation • Where=Candidate Objects in Frame = X-Coordinate = Y-Coordinate = Distance 13

  28. (0,0) (X3,Y3,D3) (X1,Y1,D1) (X2,Y2,D2) (X4,Y4,D4) (X5,Y5,D5) (X6,Y6,D6) 14

  29. Input candidates before plot graph 10 1 2 10 2 1 15

  30. Best ball trajectory verification Distance 7 8 1 3 4 5 6 2 Frame No. 16

  31. Results of segmentation & filtering 17

  32. Position of strength line in frame 18

  33. After Background Subtraction 19

  34. 20

  35. Euclidean distance tracking dE1 dE2 Shortest = dE2 Distance dE3 Time k-1 k k+1 Past Current Next 21

  36. Example of skeleton trajectory Kalman Filter -> Temp position 22

  37. 23

  38. Miss frame identification Kalman Filter -> Temp position 24

  39. Kalman filter system 25

  40. Kalman Filter Process dE1> Thd Prediction Correction by ROI Distance dE2 > Thd Time k-1 k k+1 Past Current Future 26

  41. Example disadvantage of Kalman Filter “ROI” CUT FOR FINDING SUITABLE OBJECT 27

More Related