Skip to content

Welcome to Focoos AI#

Focoos AI provides an advanced development platform designed to empower developers and businesses with efficient, customizable computer vision solutions. Whether you're working with data from cloud infrastructures or deploying on edge devices, Focoos AI enables you to select, fine-tune, and deploy state-of-the-art models optimized for your unique needs.

SDK Overview#

This powerful SDK gives you seamless access to our cutting-edge computer vision models and tools, allowing you to effortlessly interact with the Focoos API. With just a few lines of code, you can easily select, customize, test, and deploy pre-trained models tailored to your specific needs.

Whether you're deploying in the cloud or on edge devices, the Focoos Python SDK integrates smoothly into your workflow, speeding up your development process.

Quickstart πŸš€#

Ready to dive in? Get started with the setup in just a few simple steps!

Install the Focoos Python SDK (for more options, see setup)

uv pip install 'focoos @ git+https://github.com/FocoosAI/focoos.git'
pip install 'focoos @ git+https://github.com/FocoosAI/focoos.git'
pip install 'focoos @ git+https://github.com/FocoosAI/focoos.git'

πŸš€ Directly use our Efficient Models, optimized for different data, applications, and hardware.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
from focoos import Focoos
from PIL import Image
# Initialize the Focoos client with your API key
focoos = Focoos(api_key="<YOUR-API-KEY>")

# Get the remote model (fai-rtdetr-m-obj365) from Focoos API
model = focoos.get_remote_model("fai-rtdetr-m-obj365")

# Run inference on an image
detections, preview = model.infer(image_path, threshold=0.4, annotations=True)

# Output the detections
Image.fromarray(preview[:, :, [2, 1, 0]])

βš™οΈ Customize the models to your specific needs by fine-tuning on your own dataset.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from focoos import Focoos
from focoos.ports import Hyperparameters

focoos = Focoos(api_key="<YOUR-API-KEY>")
model = focoos.new_model(name="awesome",
                         focoos_model="fai-rtdetr-m-obj365",
                         description="An awesome model")

res = model.train(
    dataset_ref="<YOUR-DATASET-ID>",
    hyperparameters=Hyperparameters(
        learning_rate=0.0001,
        batch_size=16,
        max_iters=1500,
    )
)

See more examples in the how to section.

Our Models 🧠#

Focoos AI offers the best models in object detection, semantic and instance segmentation, and more is coming soon.

Using Focoos AI helps you save both time and money while delivering high-performance AI models πŸ’ͺ:

  • 10x Faster ⏳: Our models are able to process images up to ten times faster than traditional methods.
  • 4x Cheaper πŸ’°: Our models require up to 4x less computational power, letting you save on hardware or cloud bill while ensuring high-quality results.
  • Tons of CO2 saved annually per model 🌱: Our models are energy-efficient, helping you reduce your carbon footprint by using less powerful hardware with respect to mainstream models.

These are not empty promises, but the result of years of research and development by our team πŸ”¬:

ADE-20k Semantic Segmentation
ADE-20k Semantic Segmentation Results
COCO Object Detection
COCO Object Detection Results

See the list of our models in the models section.


Start now!#

By choosing Focoos AI, you can save time, reduce costs, and achieve superior model performance, all while ensuring the privacy and efficiency of your deployments. Reach out to us to ask for your API key for free and power your computer vision projects. πŸš€