VISION
ห้อง 05 · ขับเองRoom 05 · Drive房间 05 · 驾驶

เริ่มถนนเงียบ แล้วลองเมืองที่วุ่นวายStart quiet. Build a busy city.从安静道路到繁忙城市

เลือกถนนและรถ ดูว่ากล้องจำลองเห็นอะไร แล้วเพิ่มการจราจรหรือบังกล้องเพื่อดูว่ารถเบรกเมื่อใด

Pick a road and a car. Watch what the simulated camera sees. Add traffic or cover the camera and see when the car brakes.

选择道路和车辆,观察模拟摄像头看到了什么。增加车流或遮住摄像头,看看车辆何时刹车。

ลองติดป้ายภาพ · บทเรียนเสริมTry image labelling · optional lesson尝试图片标注 · 可选练习
บทเรียนการติดป้ายImage labelling lesson图片标注练习

คุณเคยฝึกเครื่องให้เรามากกว่าที่คิดYou have been training a machine for years你已经帮机器训练了很多年

เลือกช่องที่มีรถยนต์ แล้วกดตรวจสอบ หรือข้ามไปลองขับได้เลยPick the squares with cars, then press Check. Or skip straight to driving.选出有汽车的格子,然后按“检查”。也可以跳过,直接试驾。

บทเรียนนี้ทำงานอย่างไร?How does this lesson work?这个练习如何运作?

นี่คือบทเรียนการติดป้ายภาพ ไม่ใช่การล็อกห้องหรือการตรวจว่าคุณเป็นมนุษย์ พลาดได้หนึ่งช่อง และแก้คำตอบในตารางเดิมได้ ไม่บันทึกช่องที่คุณเลือก เก็บเพียงว่าเปิดห้องแล้วในแท็บนี้ คุณข้ามได้เสมอThis gate is a lesson, not a lock. It does not check that you are human and it keeps no record of the squares you picked. The one thing it writes is this tab’s note that you have been through. One mistake is allowed; change your picks to try again, or skip.这是图片标注练习,不是门锁。允许错一格,也可以在同一组格子中修改。它不验证你是不是人类,也不保存你的选择;只有当前标签页会记住你已进入。随时可以跳过。

ช่องภาพตัดจากกล้องสาธารณะของมูลนิธิ iTIC ที่แคตตาล็อกนี้เปิดอยู่แล้ว: ถนนพระราม 4, รัชดาภิเษก–วงศ์สว่าง, บิ๊กซีวงศ์สว่าง, ประชานุกูล และบางนา–ตราด คำตอบคือป้ายที่ตรวจกับภาพนั้น ไม่ใช่ภาพวาดTiles are crops of public iTIC cameras this catalogue already plays: Rama IV, Ratchadaphisek–Wongsawang, Big C Wongsawang, Prachanukul and Bang Na–Trat. The answer is a label checked against that frame, not a drawing.这些格子裁自本目录已在播放的 iTIC 公共摄像头:拉玛四路、拉差达披色–翁沙旺、Big C 翁沙旺、巴差努功,以及邦纳–达叻。答案是对照该画面核对过的标签,不是图画。

★

สิ่งที่เพิ่งเกิดขึ้นWhat just happened

เมื่อปี 2007 หลุยส์ ฟอน อาน์ (Luis von Ahn) ที่มหาวิทยาลัยคาร์เนกีเมลลอนทำ reCAPTCHA เขาคิดว่า ๆ ถ้าคนต้องพิสูจน์ว่าตัวเองเป็นมนุษย์อยู่แล้ว ก็ให้เขาช่วยอ่านหนังสือที่คอมพิวเตอร์อ่านไม่ออกไปด้วย ต่อมาในปี 2012 เขาสลับมาใช้ภาพถนนจาก Street View แทน คนที่กด “ฉันไม่ใช่โรงหุ่นยนต์” จึงได้กลายเป็นผู้ติดป้ายภาพถนนให้กูเกิลโดยไม่รู้ตัว Google เขียนไว้เองว่าทุกครั้งที่แก้ CAPTCHAs “ช่วยทำดิจิทัลไซซ์ตัวอักษร ทำภาพและสร้างชุดข้อมูลสำหรับการเรียนรู้ของเครื่อง”In 2007, Luis von Ahn at Carnegie Mellon had an idea for reCAPTCHA: if you are going to make someone prove they are human, make them read a word the computer cannot, while they are at it. By 2012 it had switched to Street View photographs, so that clicking “I'm not a robot” also produced human-labelled images of streets. Google puts it plainly: every solved CAPTCHA “helps digitize text, annotate images, and build machine learning datasets”.

สองข้อที่เราไม่อยากพูดเกินจริง: ป้ายที่ได้จากการท้าทายเหล่านั้นฝึกโมเดลของกูเกิล ไม่ใช่ของเว็บนี้ แต่ตอนนี้เรื่องนั้นจบครบในหน้านี้แล้ว ในขนาดของของเล่น: เมื่อคุณผ่าน ปุ่ม “สอนเครื่อง” จะเอาฉลากเก้าช่องที่คุณเพิ่งทำ ไปฝึกตัวเรียนรู้เล็ก ๆ ในแท็บนี้ — ตารางความสว่าง 8×8 กับตัวกรองสีสามสีที่คนเลือกให้มัน — แล้วให้มันทำแบบทดสอบชุดใหม่ที่ไม่เคยเห็นทันที คะแนนที่ได้คือขนาดจริงของฉลากเก้าช่อง ส่วนตัวเลขของ reCAPTCHA มาจากคนแก้วันละหลายล้านครั้ง ส่วนตัวที่รันในเบราว์เซอร์ของคุณคือ SSDLite บน MobileNetV2 ที่ฝึกด้วย COCO และ ImageNet ซึ่งก็มาจากคนเช่นกัน แต่คนที่ทำงานนั้นได้ค่าจ้างและใช้เวลาเป็นปี ๆ และวันที่เครื่องผ่านการท้าทายนั้นได้จริงก็มีบันทึกไว้: Goodfellow และคณะ (2014) อ่าน CAPTCHAs แบบบิดเบือนที่ยากที่สุดได้ 99.8% ขณะที่คนทำได้ 33%Two limits we will not paper over. First: those challenge labels trained Google's models, not this site's — until this page learned to finish that story at toy scale. When you pass, the “Teach the machine” button hands your nine labels to a tiny learner inside this tab — an 8×8 grid of brightness plus three colour filters a human chose for it — and it immediately takes a grid it has never seen. Its score is the honest size of nine labels; reCAPTCHA's numbers came from millions of people solving one every day. The detector running in your browser is SSDLite on MobileNetV2, trained on COCO and ImageNet — also human-labelled, but by people who were paid, over years. And the moment the machine passed the test is on the record: Goodfellow and colleagues (2014) read the hardest distorted-text CAPTCHAs at 99.8%, while people managed 33%. That is why the challenges had to change shape each time.

แหล่งอ้างอิง: Google reCAPTCHA — คำอธิบายของกูเกิลเอง · von Ahn และคณะ (2008) reCAPTCHA: Human-assisted OCR · Goodfellow และคณะ (2014) Multi-digit Number Recognition from Street View Imagery · Lin และคณะ (2014) Microsoft COCOSources: Google's own description of reCAPTCHA · von Ahn et al. (2008), reCAPTCHA: Human-assisted character recognition · Goodfellow et al. (2014), Multi-digit Number Recognition from Street View Imagery · Lin et al. (2014), Microsoft COCO.

การเข้าถึง: ไม่มีตัวจับเวลา ช่องทั้งเก้าเป็นปุ่ม กดด้วยแป้นพิมพ์ได้ และมีตัวเลข 1–9 ผ่านครั้งหนึ่งจำไว้ในเซสชันนี้ ไม่ต้องทำซ้ำจนกว่าจะปิดแท็บOn access: there is no timer. All nine squares are buttons, reachable from the keyboard, and numbered 1–9. One pass is remembered for this session, so you are not asked again until the tab closes.无障碍:没有计时。九个格子都是按钮,可用键盘到达,并标有 1–9。通过一次会在本次会话中记住,关闭标签页之前不会再问。

01

รถตัดสินใจอย่างไรHow a car decides

  1. Seeมอง Boxes, labels and confidence. Far, small or dark things are missed more often.กรอบ ชื่อ และความมั่นใจ สิ่งที่ไกล เล็ก หรือมืดจะพลาดบ่อยขึ้น
  2. Rememberจำไว้ Keeps a thing for 0.7 s after the camera loses it.จำสิ่งที่เห็นไว้ 0.7 วินาที แม้กล้องจะมองไม่เห็นแล้ว
  3. Predictคาดเดา Where will it be in 3 s — inside my lane, or not?อีก 3 วินาทีมันจะอยู่ตรงไหน จะเข้ามาในเลนของฉันไหม
  4. Choose a speedเลือกความเร็ว Each thing asks for one speed. The most careful request wins.ทุกสิ่งขอความเร็วของมัน ฟังคำขอที่ระวังที่สุด
94% 1 · See 1 · มอง boxes, labels, confidence กรอบ ชื่อ และความมั่นใจ far, small, dark = missed more ไกล เล็ก มืด = พลาดบ่อยขึ้น 2 · Remember 2 · จำไว้ keeps a thing for 0.7 s จำสิ่งที่เห็นไว้ 0.7 วินาที after the camera loses it แม้กล้องจะมองไม่เห็นแล้ว 3 · Predict 3 · คาดเดา where will it be in 3 s? อีก 3 วินาทีมันจะอยู่ตรงไหน inside my lane, or not? จะเข้ามาในเลนของฉันไหม 4 · Choose a speed 4 · เลือกความเร็ว each thing asks for one ทุกสิ่งขอความเร็วของมัน the most careful one wins ฟังคำขอที่ระวังที่สุด
สิบครั้งต่อวินาที รถทุกคันทำสี่ขั้นนี้ แล้วบอกคุณว่าสิ่งไหนทำให้มันชะลอTen times a second, every car runs these four steps — then tells you which thing made it slow down.

ทุกสิ่งที่รถเชื่อว่ามีอยู่ — รถคันหน้า ไฟแดง คนบนทางม้าลาย สุนัขที่กำลังวิ่ง — ถูกถามคำถามเดียวกัน: “ถ้าบนถนนมีแค่สิ่งนี้ ฉันควรเร่งหรือเบรกแค่ไหน” รถเชื่อคำตอบที่ระวังที่สุด และสิ่งนั้นคือเหตุผลที่มันบอกคุณEverything the car believes is there — the car ahead, a red light, a person on the zebra, a running dog — is asked the same question: “if you were the only thing on the road, how hard should I speed up or brake?” The car obeys the most careful answer, and that thing is the reason it gives you.

สังเกตว่าบางครั้งสุนัขไกล ๆ ถูกเรียกว่า “แมว?” แต่รถก็ยังเบรก สำหรับการขับรถ สิ่งสำคัญคือ “มีอะไรอยู่ตรงนั้น” ไม่ใช่ “มันชื่ออะไร”Notice that a far-away dog is sometimes called “cat?” — and the car brakes anyway. For driving, what matters is “something is there”, not “what is it called”.

รถขับดี กับเมืองไหลลื่น เป็นคนละโจทย์A good driver is only part of a good street好司机只是好街道的一部分

ไฟเขียวไม่ทำให้รถคันที่ขวางทางหายไป ลองรถ 32 คัน แล้วสลับให้รถรอที่เส้นก่อนเข้าแยกถ้าทางออกยังติด ดูคำอธิบายของรถที่หยุด การเข้าไปค้างกลางแยกทำให้รถจากอีกทิศไปต่อไม่ได้A green light cannot make a blocked exit disappear. Try 32 cars, then switch the clear-exit rule. Read why a waiting car stops: entering a junction without room to leave can block traffic coming the other way.绿灯不会让堵住的出口自动畅通。试试 32 辆车,再切换出口畅通规则,读一读停车原因:驶入却无法驶离路口,会阻挡另一方向的车辆。

ไฟที่ดูแถวรอช่วยจัดเวลา แต่ไม่ได้เพิ่มพื้นที่ถนน ต้องเผื่อเวลาให้รถพ้นแยกและไม่ปล่อยอีกฝั่งรอไม่สิ้นสุด กทม. มีโครงการสัญญาณไฟปรับตามสภาพจราจรจริง ส่วนกฎที่ลองในห้องนี้เป็นแบบอธิบาย ไม่ใช่การจำลองระบบของ กทม.Queue-responsive lights share time; they do not create road space. Clearance intervals and a bounded wait for the other side still matter. Bangkok has an adaptive-signal programme. This room explains the principle with its own small rule, not a reproduction of BMA’s controller.响应排队的信号分配时间,并不会增加道路空间。仍需清空路口,并限制另一侧的等待。曼谷有自适应信号项目;本课堂用简单规则解释原理,并非复制市政府的控制器。

Bangkok: ITMS & adaptive signals ↗ · FHWA: signal coordination & queues ↗

02

นิสัยสามแบบThree habits

ระวังCarefulปกติNormalใจร้อนHasty
มองเห็นไกล (กลางวัน)Sees as far as (daylight)50 m40 m28 m
ความเร็วสูงสุดTop speed45 km/h50 km/h60 km/h
เว้นระยะจากคันหน้าGap to the car ahead1.8 s1.2 s0.6 s
หยุดให้คนที่รอข้ามStops for people waiting to crossใช่Yesใช่Yesไม่No
ชะลอเมื่อเห็นสุนัขข้างทางSlows for a dog by the roadใช่Yesไม่Noไม่No
ไม่ขับเร็วเกินระยะที่มองเห็นNever faster than it can seeใช่Yesใช่Yesไม่No

ลองดูTry this

ทุกข้อใช้สนาม “วงเวียนและแยก” ปุ่มจะตั้งสนาม ฟ้า และรถให้ แล้วพาคุณกลับขึ้นไปดูEach one uses the Roundabout & junction track. The button sets the track, sky and car for you, then takes you back up to watch.

  1. เปลี่ยนเป็น “กลางคืน” แล้วดูรถคันที่ 3 และ 6 มันมองเห็นแค่ 17 เมตร แต่ยังขับ 60 กม./ชม. — ต้องใช้ราว 14 เมตรแค่เพื่อเบรกSwitch to Night and watch cars 3 and 6. They can see only 17 m but still drive at 60 km/h — braking alone takes about 14 m.
  2. ปิดกล้องของรถคันที่ 1 มันจะฝ่าไฟแดงเพราะมองไม่เห็นไฟ แล้วดูว่าใครต้องหลบให้มัน — ความปลอดภัยบนถนนไม่ได้มาจากรถคันเดียวCover car 1’s camera. It runs the red light because it cannot see it — watch who has to dodge it. Safety on a road never comes from one car alone.
  3. ตั้งสุนัขเป็น “เยอะ” รถคันไหนชะลอก่อนที่สุนัขจะวิ่งSet dogs to Many. Which cars slow down before the dog runs?
  4. ใครได้รอบมากที่สุด และคุ้มกับการชนไหม คนที่รอข้ามถนนคิดอย่างไรWho gets the most laps — and is it worth the crashes? What would the person waiting at the zebra say?
03

ตรงไหนจริง ตรงไหนจำลองWhat is real, what is pretend

กล้องในห้องนี้เป็นการจำลอง ไม่ใช่โครงข่ายประสาทเทียม: สิ่งที่อยู่ในพัดสีส้มถูก “เห็น” ด้วยโอกาสที่ลดลงตามระยะ ขนาด และแสง — รูปแบบเดียวกับที่ตัวตรวจจับจริงพลาด ถ้าอยากเห็นตัวตรวจจับจริงทำงาน ไปที่ ห้องเกมThe camera in this room is simulated, not a neural network: whatever is inside the orange fan is “seen” with a chance that falls with distance, size and light — the same shape of mistake a real detector makes. To watch the real detector at work, go to the games room.

การเลือกความเร็วใช้แบบจำลองผู้ขับขี่อัจฉริยะ (Intelligent Driver Model; Treiber, Hennecke & Helbing, 2000) ส่วนการคาดว่าใครจะเข้ามาในเลน ยืมแนวคิดจากตัววางแผนแบบสุ่มตัวอย่างเส้นทาง เช่น Frenetix ของทีม TUM-AVS มหาวิทยาลัยเทคนิคมิวนิก (Trauth et al., 2024) แต่ย่อลงเหลือไม่กี่สิบบรรทัดChoosing a speed uses the Intelligent Driver Model (Treiber, Hennecke & Helbing, 2000). Predicting who will enter the lane borrows the idea behind sampling planners such as Frenetix from TUM’s autonomous-vehicle group (Trauth et al., 2024) — shrunk to a few dozen lines.

รถจริงใช้ทั้งกล้อง เรดาร์ ไลดาร์ และแผนที่ละเอียด ถูกทดสอบเป็นล้านกิโลเมตร และยังพลาดได้ ห้องนี้ไม่ได้เรียนรู้อะไรเอง กติกาทุกข้อเขียนด้วยมือ — เพื่อให้คุณอ่านเหตุผลของมันได้ทุกครั้งReal cars combine cameras, radar, lidar and detailed maps, are tested over millions of kilometres, and still make mistakes. Nothing in this room learns by itself; every rule is written by hand — so that you can always read its reason.

นี่คือมุมหน้าของกล้องจำลอง สีเหลืองคือสิ่งที่เห็นหรือจำไว้ สีส้มคือสิ่งที่มีผลต่อความเร็ว เส้นประคือสิ่งที่เห็นก่อนหน้านี้ กล้องอาจพลาดบางอย่าง และมุมด้านข้างอาจเห็นสิ่งที่อยู่นอกภาพนี้This is the simulated camera’s front view. Yellow marks something it sees or remembers. Orange marks what affects the car’s speed. Dashes mark an earlier sighting. The camera can miss things, and its side views can see things outside this picture.这是模拟摄像头的前方视图。黄色标出看到或记住的东西,橙色标出影响车速的东西。虚线表示之前看到的位置。摄像头可能漏看,有些东西也可能只出现在侧面视图中。