Skip to content

mapilio/gps_anomaly_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
        }
    }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages