Skip to content
Proyectos

Acerca de

FSV (Full Self-View): a browser driving-perception simulator with eight cameras

IA y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
+1
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

FSV (Full Self-View)

Not FSD. FSV.

FSV: the virtual town with camera coverage on the left, the 3D view rebuilt from the cameras on the right, and the eight camera pictures below

A driving-perception simulator that runs in the browser. A car with eight cameras drives through a virtual town, and its surroundings are redrawn in a 3D navigation view from those camera pictures alone.

Play it: https://airlee-dev.github.io/fsv/

You can take the wheel yourself: W A S D or the arrow keys, and watch the 3D view follow what the cameras see as you drive.

Why this exists

FSV was made after watching Tesla's FSD. It builds a virtual town with traffic, mounts cameras on a car the way a Tesla carries them, and combines what those cameras record into one view of the surroundings, as FSD does. It is still a long way behind the real thing: finding objects is replaced by labels the simulator already knows, and nothing here drives a real car.

FSV is a hobby project and is not affiliated with Tesla.

The page is in English or Korean (the Language list, top right). 한국어 설명은 아래에 있습니다.

Run

  • In the browser: open the link above.
  • From a download: open docs/index.html in Chrome or Edge. It is a single file and needs no network.
  • ?lang=en or ?lang=ko in the address picks the language, and ?w=320 a lower camera resolution.

What it does

  • Free drive. Nine cars, yours included, drive closed routes round the town. They obey the signals, keep a gap, give way to each other and stop for pedestrians. They indicate before a junction turn.
  • Seven scripted scenes: crossing traffic, a left turn, pedestrians on a crossing, a curved street, a pedestrian running out, a car braking hard, a cut-in.
  • Eight cameras on the car, each shown live. Drive yourself with W A S D or the arrow keys.
  • A 3D navigation view rebuilt from the cameras, with options for what it draws.
  • Measurement error you can switch on: each sighting is placed as if its outline lay 1, 2 or 4 pixels off. A pixel covers more ground the farther away it looks, so far cars slide about in the rebuilt view while near ones barely move.

How it sees

Each camera is drawn twice: a realistic picture and a label picture in which every pixel carries the kind and number of the object it shows. Perception reads only the label pictures. Labels are ground truth from the simulator, so detecting objects in real footage is not part of this project. Position, size and heading come from the label outlines and the camera mounting.

The car drives by what it sees. On autopilot your car brakes, keeps its gap and gives way using only the positions its cameras found, each followed for up to a second to estimate its speed. Switch the three forward cameras off and it stays where it is. The signals and the route are still simply known, and the other cars use the simulator's own positions.

The navigation view is drawn from the cameras' own pixels. People, trees and signals are cut out and stood where they were measured. A car is its 3D model wearing the camera picture on the sides the camera saw. Building walls are hung from the line where they meet the ground. Ground that no camera sees at the moment is filled, darker, from what was seen earlier.

Source

Path What
simulation/world.js town, traffic, pedestrians, scenarios
simulation/vision.js the camera rig and perception
simulation/navigation.js the navigation view
simulation/models.js models and materials
simulation/i18n.js English text
simulation/kernel/ the per-pixel loops in Rust (WebAssembly)
simulation/pack.py builds the single HTML file
cd simulation/kernel && cargo build --release --target wasm32-unknown-unknown   # only after changing the kernel
py -3 simulation/pack.py                                                          # writes docs/index.html

No build step is needed to try a change in the JavaScript: open simulation/index.html through a local web server.

About the developer

Made by airlee, a solo developer in Korea.

Other work:

  • PhotoVim — a free online photo editor that opens PSD files, with no ads
  • Pawhonor — an online memorial space for pets

Questions, bug reports and ideas are welcome: open an issue on GitHub.

Third-party material

Sources and licences are listed in vendor/SOURCES.txt: Three.js (MIT) and Poly Haven photographs (CC0).

Licence

MIT, see LICENSE.

한국어

테슬라의 FSD를 보고 만들었습니다. 가상의 도로와 차량 환경을 만들고, 그 안의 차에 테슬라 차처럼 카메라를 달아, 카메라들이 찍은 영상을 FSD처럼 하나로 조합해 주변을 다시 그립니다. 성능은 아직 한참 떨어집니다. 물체 찾기는 시뮬레이터가 이미 아는 라벨로 대신하고, 실제 차를 운전하지도 않습니다. 취미 프로젝트이며 테슬라와는 관계가 없습니다.

브라우저에서 도는 자율주행 인식 시뮬레이터입니다. 가상 도시를 달리는 차에 카메라 8대를 달고, 그 카메라 화면만으로 주변을 3D 내비게이션에 다시 그립니다. 위 링크에서 바로 해 볼 수 있고, 화면 오른쪽 위 Language에서 한국어를 고를 수 있습니다.

인식은 시뮬레이터가 함께 그리는 라벨 영상(물체 종류를 색으로 칠한 정답 영상)만 읽습니다. 실제 영상에서 물체를 찾는 기능은 들어 있지 않습니다.

자동 주행 중인 내 차는 카메라가 찾은 위치만으로 브레이크를 밟고, 간격을 두고, 양보합니다. 앞을 보는 카메라 3대를 끄면 차는 움직이지 않습니다. 신호와 경로는 아직 그냥 알고 있습니다.

Explorar proyectos relacionados

Cargando…