Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javierluraschi/kartsim
hexkart: Kart simulation for model training
https://github.com/javierluraschi/kartsim
Last synced: about 1 month ago
JSON representation
hexkart: Kart simulation for model training
- Host: GitHub
- URL: https://github.com/javierluraschi/kartsim
- Owner: javierluraschi
- License: other
- Created: 2017-12-16T00:17:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T20:07:43.000Z (over 6 years ago)
- Last Synced: 2024-12-23T10:45:52.138Z (about 1 month ago)
- Language: R
- Size: 7.14 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
title: "kartsim: Kart simulation for model training"
output:
github_document:
fig_width: 7
fig_height: 5
---`kartsim` provides a kart simulation to render and capture kart training data using
'HTML' widgets or 'Shiny' applications. It can be used to: Collect kart
playing styles, create test cases for image classification and render trained
models over an interactive kart simulation.## Getting Started
Install `kartsim` from CRAN then launch the imulation as follows, use arrow keys
to turn left or right:```{r eval=FALSE}
library(kartsim)
kartsim_play()
```![](tools/README/kart-demo.gif)
To capture a kart session simply run:
```{r eval=FALSE}
kartsim_capture()
```This will create a snapshot under `capture/` with labels: `###-left.png`,
`###-forward.png` or `###-right.png` that you can use for training. Once trained,
you can use `kartsim_control()` to feed predictions back.We can feed a random direction to this simulation by running:
```{r eval=F}
labels <- c("left", "forward", "right")
kartsim::kartsim_control(function(image, direction) {
sample(labels, 1)
})
```## Training
Training this simulation is beyond the scope of this package, but the following
github repos can be used for further reading. Feel free to send a PR to this repo
if you want your models to be listed here:* [github.com/javierluraschi/kartmodels](http://github.com/javierluraschi/kartmodels)