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!
[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.
python >= 3.9
lxml
numpy
opencv_python
Requests
tqdm
dynaconf
scipy
dask
dask-expr
python-lzf
Pillow
Please note that abava-sdk is deprecated and no longer updated, please install our sdk with the following command
pip install moore-sdk
- MOORE data -> COCO data
- MOORE data -> LABELME data
- MOORE data -> VOC data
- MOORE data -> YOLO data
- MOORE data -> KITTI data
- MOORE data -> MASK
- count labels number
- count specific labels number
- count drawtype number
- count file number
- count image number
- count unlabeled image number
- count labeled image number
- image data -> base64
- base64 -> image data
- read url image
- get url image size
- hexadecimal color values -> RGB
- generate random RGB values
- drawing boxes on the image
- drawing points on the image
- drawing polygons on the image
- plate mode MASK -> POLYGON
- MASK -> RLE
- RLE -> MASK
- POLYGON -> MASK
- determine if the point is inside the outer rectangle
- determine if the point is inside the polygon
- calculate the polygon area
- determining the containment of polygons
- skeleton polygon
- Determining Polygon Orientation
- image de-distortion
- read PCD format point clouds
- write PCD format point clouds
- PCD -> BIN
- BIN -> PCD
- ascii -> binary
- binary -> ascii
- removing points from the point cloud 3D box
- voxel subsampling
- random subsampling
- the pnp method computes rotation matrices and translation vectors
- calculate the number of points in the 3D box
- rotation matrix -> quaternion
- rotation matrix -> euler
- euler -> rotation matrix
- quaternion -> rotation matrix
- euler -> quaternion
- quaternion -> euler
- 3Dbox -> corner points
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)
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)
from moore import Visual
data_path = "./data.json"
out_path = "./output"
Visual.visual_coco(source_data, data_path, out_path)
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.
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 .
MOOREData SDK is released under the MIT license.