Git Product home page Git Product logo

mooredata-sdk's Introduction

 
ABAKA website HOT    
 

PyPI docs license

MOOREData SDK | For Python

Welcome to MOORE SDK, an open-source Software Development Kit that forms the backbone of the MOORE platform. Designed to convert data between MOORE’s native format and widely-used, universal data structures such as COCO, YOLO, LABELME, KITTI, VOC, MOORE SDK helps to streamline and simplify your data operations.

The SDK is more than just a converter. It’s a swiss army knife of data processing tools. It comes loaded with an assortment of handy utility functions often used in data processing workflows, such as Calculate the area of a polygon or determine if a point is inside a polygon.

Whether you’re moving data, cleaning data, transforming data, or just managing it, the MOORE SDK has got you covered with powerful features that make your work simpler and easier. Built for developers, engineers and data scientists, this SDK aims to make your data-heavy processes more seamless and efficient.

Stay tuned to get more details about the features, capabilities, and the simplicity MOORE SDK brings to your data operations.

Learn more about ABAKA here!

Overview

Changelog

[2024-05-09] perf:

  • Point Cloud Tools: We have optimized the code in pc tools and now support many new point cloud base operations that are ahead of other python third-party point cloud libraries in terms of efficiency, See What can we do for available features.

[2023-11-29] perf

  • Optimize mask export

[2023-10-12] feat:

  • Support for interconversion of Euler angles, quaternions and rotation matrices

[2023-08-31] feat:

  • Support pinhole camera image de-distortion and fisheye camera image de-distortion
  • Support point cloud random subsampling and voxel subsampling
  • Support for removing points in the 3D box of the point cloud
  • Support Quaternion to Euler angle
  • Support PNP

[2023-07-21] MOORE SDK v1.0.0 is released.

requirements

    python >= 3.9
    lxml
    numpy
    opencv_python
    Requests
    tqdm
    dynaconf
    scipy
    dask
    dask-expr
    python-lzf
    Pillow

Installation

Install with PyPi (pip)

Please note that abava-sdk is deprecated and no longer updated, please install our sdk with the following command

pip install moore-sdk

What can we do

Data Format

Data Check

Data Visualization

Computer Vision tools

Point Cloud tools

Usage

get source data

import moore

"""
You can get your ak/sk in the platform's "Team Space" -> "Setting"
"""
ak = Access Key
sk = Secret Key
client = moore.Client(ak, sk)

"""
After creating an export task, you can see the export task id of the corresponding task
in "Import/Export"->"Data Export".
"""
source_data = client.get_data(export_task_id)

data format

from moore import Export

mapping = {"背景background": 'background', "草地lawn": 'lawn', "道路road": 'road'}
# coco
out_path = "./output"
Export.moore_json2coco(source_data=source_data, out_path=out_path)

visualize

from moore import Visual

data_path = "./data.json"
out_path = "./output"
Visual.visual_coco(source_data, data_path, out_path)

utils

def test_isin_external_rectangle():
    point = [55, 100]
    vertex_lst = [[50, 50], [200, 200], [200, 50], [50, 50]]
    tag = moore.isin_external_rectangle(point, vertex_lst)
    return tag


def test_to_string():
    test_string = b'example_string'
    string = moore.b2string(test_string)
    print(string)


def test_pcd2bin():
    bin_path = './bin'
    pcd_path = './pcd'
    mooredata.pcd2bin(pcd_path, bin_path)

Please refer to examples.md to learn more usage about MOORE SDK.

About Us

ABAKA AI, provides ABAKA Platform (AI-Based Augmented Virtual Associate) and ACE Service (Accurate & Efficient), is committed to becoming a data navigator in the AI industry. Click to Try Our Moore Platform .

ABAKA AI collaborates with over 1000 leading global tech firms and research institutions across the Automobile AI, Generative AI, and Embodied AI sectors. Our Global Offices in Singapore, Paris, and Silicon Valley spearhead our worldwide expansion.

Find us on X | LinkedIn | YouTube .

License

MOOREData SDK is released under the MIT license.

mooredata-sdk's People

Contributors

damoooon avatar

Stargazers

Cooper avatar SHN avatar  avatar  avatar

Watchers

Porco avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.