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mouse-movement
|
| 9 |
+
- captcha
|
| 10 |
+
- biometrics
|
| 11 |
+
- human-behavior
|
| 12 |
+
- gaming
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# CaptchaSolve30k - Human Mouse Movement Dataset
|
| 18 |
+
|
| 19 |
+
A dataset of 30,000+ human mouse movement recordings captured while solving interactive captcha-style puzzles. Each session includes high-frequency input sampling suitable for behavioral biometrics research, bot detection, and human movement modeling.
|
| 20 |
+
|
| 21 |
+
## Dataset Overview
|
| 22 |
+
|
| 23 |
+
| Metric | Value |
|
| 24 |
+
|--------|-------|
|
| 25 |
+
| Total Sessions | ~30,000 |
|
| 26 |
+
| Game Types | 3 |
|
| 27 |
+
| Physics Sample Rate | 240 Hz |
|
| 28 |
+
| Raw Input Sample Rate | 1000 Hz |
|
| 29 |
+
| Average Session Duration | 8-15 seconds |
|
| 30 |
+
|
| 31 |
+
## Game Types
|
| 32 |
+
|
| 33 |
+
### Sheep Herding
|
| 34 |
+
Guide sheep into a pen by drawing paths with your mouse. Tests continuous cursor control and path planning.
|
| 35 |
+
|
| 36 |
+
### Thread the Needle
|
| 37 |
+
Navigate through gaps without touching walls. Tests precision movement and spatial awareness.
|
| 38 |
+
|
| 39 |
+
### Polygon Stacking
|
| 40 |
+
Drag and stack polygon shapes on a platform. Tests click-drag interactions and placement accuracy.
|
| 41 |
+
|
| 42 |
+
## Data Format
|
| 43 |
+
|
| 44 |
+
Each session is a JSON object with the following fields:
|
| 45 |
+
|
| 46 |
+
| Field | Type | Description |
|
| 47 |
+
|-------|------|-------------|
|
| 48 |
+
| `index` | int | Session index in the dataset |
|
| 49 |
+
| `gameType` | string | One of: `sheep-herding`, `thread-the-needle`, `polygon-stacking` |
|
| 50 |
+
| `puzzleSeed` | int | Seed used to generate the puzzle (for reproducibility) |
|
| 51 |
+
| `duration` | int | Session duration in milliseconds |
|
| 52 |
+
| `physicsTickCount` | int | Number of physics ticks (at 240 Hz) |
|
| 53 |
+
| `tickInputs` | array | Input state at each physics tick |
|
| 54 |
+
| `inputStream` | string | Base64-encoded raw 1000 Hz mouse samples |
|
| 55 |
+
| `inputSampleCount` | int | Number of raw input samples |
|
| 56 |
+
| `touchscreen` | bool | Whether input was from a touchscreen |
|
| 57 |
+
|
| 58 |
+
### tickInputs Format
|
| 59 |
+
|
| 60 |
+
Array of objects representing input state at each 240 Hz physics tick:
|
| 61 |
+
|
| 62 |
+
```json
|
| 63 |
+
{
|
| 64 |
+
"x": 150.5, // X position in grid coordinates (0-200)
|
| 65 |
+
"y": 100.2, // Y position in grid coordinates (0-200)
|
| 66 |
+
"isDown": true, // Mouse button / touch pressed
|
| 67 |
+
"sampleIndex": 42 // Index into inputStream for this tick
|
| 68 |
+
}
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
### inputStream Format
|
| 72 |
+
|
| 73 |
+
Base64-encoded binary stream of raw 1000 Hz mouse samples. Each sample is 9 bytes:
|
| 74 |
+
- 4 bytes: X position (float32, little-endian)
|
| 75 |
+
- 4 bytes: Y position (float32, little-endian)
|
| 76 |
+
- 1 byte: Button state (0 = up, 1 = down)
|
| 77 |
+
|
| 78 |
+
## Usage
|
| 79 |
+
|
| 80 |
+
### Loading with Datasets Library
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
| 84 |
+
|
| 85 |
+
dataset = load_dataset("Capycap-AI/CaptchaSolve30k")
|
| 86 |
+
|
| 87 |
+
# Access a sample
|
| 88 |
+
sample = dataset['train'][0]
|
| 89 |
+
print(f"Game: {sample['gameType']}, Duration: {sample['duration']}ms")
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
### Decoding inputStream
|
| 93 |
+
|
| 94 |
+
```python
|
| 95 |
+
import base64
|
| 96 |
+
import struct
|
| 97 |
+
|
| 98 |
+
def decode_input_stream(b64_stream, sample_count):
|
| 99 |
+
data = base64.b64decode(b64_stream)
|
| 100 |
+
samples = []
|
| 101 |
+
for i in range(sample_count):
|
| 102 |
+
offset = i * 9
|
| 103 |
+
x, y = struct.unpack('<ff', data[offset:offset+8])
|
| 104 |
+
is_down = data[offset+8] == 1
|
| 105 |
+
samples.append({'x': x, 'y': y, 'isDown': is_down})
|
| 106 |
+
return samples
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
## Demo & Replay
|
| 110 |
+
|
| 111 |
+
Try the interactive demo to replay sessions and visualize mouse movements:
|
| 112 |
+
|
| 113 |
+
[CaptchaSolve Demo Space](https://huggingface.co/spaces/Capycap-AI/CaptchaSolve-Demo)
|
| 114 |
+
|
| 115 |
+
## Use Cases
|
| 116 |
+
|
| 117 |
+
- **Bot Detection**: Train models to distinguish human vs synthetic mouse movements
|
| 118 |
+
- **Behavioral Biometrics**: Study individual movement patterns for authentication
|
| 119 |
+
- **Human Motion Modeling**: Build generative models of natural cursor behavior
|
| 120 |
+
- **Game AI**: Train agents that exhibit human-like control patterns
|
| 121 |
+
|
| 122 |
+
## License
|
| 123 |
+
|
| 124 |
+
MIT License - free for research and commercial use.
|
| 125 |
+
|
| 126 |
+
## Citation
|
| 127 |
+
|
| 128 |
+
```bibtex
|
| 129 |
+
@dataset{captchasolve30k,
|
| 130 |
+
title={CaptchaSolve30k: Human Mouse Movement Dataset},
|
| 131 |
+
author={Capycap Inc.},
|
| 132 |
+
year={2026},
|
| 133 |
+
url={https://huggingface.co/datasets/Capycap-AI/CaptchaSolve30k}
|
| 134 |
+
}
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
## Links
|
| 138 |
+
|
| 139 |
+
- [CapyCap Website](https://capycap.com)
|
| 140 |
+
- [Demo Space](https://huggingface.co/spaces/Capycap-AI/CaptchaSolve-Demo)
|