semvec/pypi-packages huggingface dataset:
gps-anomaly-detector 0.2.2
Gps Anomaly Detector of Mapilio
License: MIT License
Requires Python: >=3.7

# GPS anomaly detection

```bash
pip install gps-anomaly
``` 

### Usage
```python
from gps_anomaly.detector import Anomaly

anomaly = Anomaly()
points = [{
        "latitude": 22.32689719997222,
        "longitude": 11.49237269997222,
        "laptureTime": "2021_11_18_15_22_52_000",
        "altitude": 7.386,
        "sequenceUuid": "1490d87b-d5ba-4df3-b354-c01e7acaae29",
        "heading": 195.9560290711052,
        "orientation": 3,
        "deviceMake": "GoPro Max",
        "deviceModel": "GOPRO",
        "imageSize": "2704x2028",
        "fov": 100.4,
        "photoUuid": "21887915-e624-4246-b7e9-695b44fb6442",
        "filename": "GPAG8025.JPG",
        "path": ""
    },
    {
        "latitude": 22.32654149997222,
        "longitude": 11.4922393,
        "captureTime": "2021_11_18_15_22_53_000",
        "altitude": 6.029,
        "sequenceUuid": "1490d87b-d5ba-4df3-b354-c01e7acaae29",
        "orientation": 3,
        "deviceMake": "GoPro Max",
        "deviceModel": "GOPRO",
        "imageSize": "2704x2028",
        "fov": 100.4,
        "photoUuid": "ff612ec5-9479-473a-925b-8336af0b1e1f",
        "filename": "GPAG8026.JPG",
        "path": ""
    },
    {
        "Information": {
            "total_images": 2,
            "processed_images": 2,
            "failed_images": 0,
            "duplicated_images": 0,
            "id": "8323ff0a01fe49d1b55e610279f62828"
        }
    }
]
print(anomaly.anomaly_detector(frames=points))
```

### Output
```bash
[
    {
        "Information": {
            "total_images": 2,
            "processed_images": 2,
            "failed_images": 0,
            "duplicated_images": 0,
            "id": "8323ff0a01fe49d1b55e610279f62828"
        }
    }
]
```