Skip to main content

Detecet and Remove GPS anomalies points

Project description

GPS anomaly detection

pip install gps-anomaly

Usage

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gps_anomaly-0.1.14.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

gps_anomaly-0.1.14-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page