• Stars
    star
    164
  • Rank 230,032 (Top 5 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Build and deploy Computer Vision solutions with a few lines of code.

Logo

State-of-the-art Computer Vision with a few lines of code

Report a Bug ยท Request a Feature . Ask a Question

Stars Website Python Python GitHub GitHub tags
Slack community

About The Project

Ikomia API is an open source tool to easily build and deploy your Computer Vision solutions. You can mix your preferred frameworks such as OpenCV, Detectron2, OpenMMLab or YOLO with the best state-of-the-art algorithms from individual repos.

No effort, just choose what you want and Ikomia runs everything in a few lines of code.

Getting Started

Installation

pip install ikomia

Usage 1 : Object Detection Example

With Ikomia, when you want to use an algorithm, it's always the same code pattern which is useful when you want to test multiple algorithms effortlessly.

from ikomia.dataprocess.workflow import Workflow
from ikomia.utils.displayIO import display

# Init your workflow
wf = Workflow()

# Add YOLO and connect it to your input data
yolov7 = wf.add_task(name="infer_yolo_v7", auto_connect=True)

# Run directly on your image
wf.run_on(url="https://raw.githubusercontent.com/Ikomia-dev/notebooks/main/examples/img/img_fireman.jpg")

# YOLO output image with bounding boxes
display(yolov7.get_image_with_graphics())

And finally, you can also export your results as JSON files.

# Get all object detection
json_results = yolov7.get_results().to_json()
print(json_results)

Usage 2 : Pose Estimation Example

from ikomia.dataprocess.workflow import Workflow
from ikomia.utils.displayIO import display

# Init your workflow
wf = Workflow()

# Add YOLO and connect it to your input data
yolov7 = wf.add_task(name="infer_mmlab_pose_estimation", auto_connect=True)

# Run directly on your image
wf.run_on(url="https://raw.githubusercontent.com/Ikomia-dev/notebooks/main/examples/img/img_fireman.jpg")

# YOLO output image with bounding boxes
display(yolov7.get_image_with_graphics())

Usage with the ik auto-completion system

ik is an auto-completion system designed to help developers to find available algorithms in Ikomia HUB. See the documentation for more explanations here.

from ikomia.dataprocess.workflow import Workflow
from ikomia.utils import ik
from ikomia.utils.displayIO import display

wf = Workflow()

yolov7 = wf.add_task(ik.infer_yolo_v7_instance_segmentation(), auto_connect=True)

# wf.run_on(path="path/to/your/image.png")
wf.run_on(url="https://raw.githubusercontent.com/Ikomia-dev/notebooks/main/examples/img/img_dog.png")

display(yolov7.get_image_with_graphics())
display(yolov7.get_image_with_mask())
display(yolov7.get_image_with_mask_and_graphics())

Examples

You can find some notebooks here.

We provide some Google Colab tutorials:

Notebooks Google Colab
How to make a simple workflow Open In Colab
How to run Neural Style Transfer Open In Colab
How to train and run YOLO v7 on your datasets Open In Colab
How to use Detectron2 Object Detection Open In Colab

Documentation

Python API documentation can be found here. You will find Ikomia HUB algorithms code source in our Ikomia HUB GitHub.

Contributing

This part is coming soon...:)

License

Distributed under the Apache-2.0 License. See LICENSE.md for more information.

They like us, we love them ๐Ÿ˜

Stargazers repo roster for @Ikomia-dev/IkomiaApi

Star History

Star History Chart

Citing Ikomia

If you use Ikomia in your research, please use the following BibTeX entry.

@misc{DeBa2019Ikomia,
  author =       {Guillaume Demarcq and Ludovic Barusseau},
  title =        {Ikomia},
  howpublished = {\url{https://github.com/Ikomia-dev/IkomiaAPI}},
  year =         {2019}
}

Support

Contributions, issues, and feature requests are welcome! Give a โญ if you like this project!

Contact

Ikomia - @IkomiaOfficial - [email protected]

Project Link: https://github.com/Ikomia-dev/IkomiaAPI

More Repositories

1

IkomiaStudio

Your open-source UI software for Computer Vision applications
C++
28
star
2

FishEyeModel

Python project based on OpenCV module to model FishEye camera and undistort acquired images
Python
20
star
3

IkomiaCore

C++
6
star
4

create_ikomia_algorithm

Python
4
star
5

infer_yolact

Reuse & reproduce YOLACT in Ikomia Studio thanks to this plugin wrapping original code.
Python
4
star
6

python-api-documentation

API documentation to create plugins for Ikomia platform in Python
HTML
4
star
7

notebooks

Notebooks using the Ikomia API
4
star
8

YoloDetection

Implementation of YOLO DNN inference with OpenCV
Python
3
star
9

infer_detectron2_panoptic_fpn

Inference on Detectron2 Panoptic FPN model in Ikomia Studio.
Python
3
star
10

infer_detectron2_tridentnet

Inference on Detectron2 TridentNet model in Ikomia Studio.
Python
3
star
11

infer_detectron2_densepose

Inference on Detectron2 DensePose model in Ikomia Studio.
Python
2
star
12

ReadPrescriptionApp

Python
2
star
13

.github

2
star
14

infer_torchvision_mnasnet

Inference on MnasNet model in Ikomia Studio.
Python
2
star
15

infer_detectron2_retinanet

Inference on Detectron2 RetinaNet model in Ikomia Studio.
Python
2
star
16

infer_torchvision_resnext

Inference on ResNeXt model in Ikomia Studio.
Python
2
star
17

train_torchvision_mask_rcnn

Train Mask RCNN model in Ikomia Studio.
Python
2
star
18

infer_detectron2_pointrend

Inference on Detectron2 PointRend model in Ikomia Studio.
Python
2
star
19

dataset_yolo

Load Deep Learning dataset in YOLO format.
Python
2
star
20

dataset_wgisd

Python
2
star
21

infer_emotion_fer_plus

Emotion recognition in Ikomia Studio.
Python
2
star
22

infer_detectron2_keypts_rcnn

Inference on Detectron2 Keypoint RCNN model in Ikomia Studio.
Python
2
star
23

skimage_morpho_snakes

Active contour segmentation methods in Ikomia Studio.
Python
2
star
24

infer_neural_style_transfer

Neural Style Transfer algorithm in Ikomia Studio.
Python
2
star
25

infer_torchvision_mask_rcnn

Inference on Mask RCNN model in Ikomia Studio.
Python
2
star
26

infer_torchvision_resnet

Inference on ResNet model in Ikomia Studio.
Python
2
star
27

infer_torchvision_faster_rcnn

Inference on Faster RCNN model in Ikomia Studio.
Python
2
star
28

infer_detectron2_faster_rcnn

Inference on Detectron2 Faster RCNN model in Ikomia Studio.
Python
2
star
29

train_torchvision_faster_rcnn

Train Faster RCNN model in Ikomia Studio.
Python
2
star
30

skimage_threshold

Image thresholding methods from scikit-image.
Python
2
star
31

infer_covidnet

COVID detection from chest radiography images in Ikomia Studio (research purpose only).
Python
2
star
32

infer_resnet_action_recognition

Human Action Recognition with 3D ResNet in Ikomia Studio.
Python
2
star
33

infer_detectron2_mask_rcnn

Inference on Detectron2 Mask RCNN model in Ikomia Studio.
Python
2
star
34

infer_colorful_image_colorization

Automatic image colorization in Ikomia Studio.
Python
1
star
35

dataset_coco

Load Deep Learning dataset in COCO format.
Python
1
star
36

ikomia-oakd

Python
1
star
37

infer_raft_optical_flow

Python
1
star
38

train_torchvision_resnet

Train ResNet model in Ikomia Studio.
Python
1
star
39

train_torchvision_mnasnet

Train MnastNet model in Ikomia Studio.
Python
1
star
40

dataset_via

Load Deep Learning dataset in VGG Image Anotator format.
Python
1
star
41

dataset_pascal_voc

Load Deep Learning dataset in PascalVOC 2012 format.
Python
1
star
42

train_torchvision_resnext

Train ResNeXt model in Ikomia Studio.
Python
1
star