Skip to main content

Human-like AI for everyone — vision, text, voice, and more in one simple package.

Project description

MIMICX AI Library 📚

License PyPI version

Build Modular, Asynchronous, and Composable AI Pipelines for Generative AI.

Mimicx AI is a lightweight Python library for giving machines human-level perception and decision-making capabilities by enabling advanced perception, contextual reasoning, autonomous decision-making, and intuitive human-machine interaction.

At its core, Mimicx structures its capabilities into specialized domains — Vision, Text, Voice, Feel, Twin, Phy, Sense, and Mind — each targeting a unique dimension of machine perception, reasoning, and interaction.

Face Recognition Sample

import os
from mimicx import MimicVision

# Get the current directory of this script (or notebook)
folder_path = os.path.dirname(__file__)

if __name__ == "__main__":
    # Initialize the MimicVision client
    client = MimicVision()

    # Load the face recognition model
    client.load('face_recognition')

    # Define image paths
    img_path_1 = os.path.join(folder_path, "image1.png")
    img_path_2 = os.path.join(folder_path, "image2.png")

    # Extract face features from both images
    features1 = client.extract_face_feature(img_path_1)
    features2 = client.extract_face_feature(img_path_2)

    # Compare the two sets of face features
    result = client.compare_features_faces(features1, features2)

    # Print the similarity score or the error message
    if isinstance(result, (float, int)):
        print(f"Face similarity: {result:.2f}")
    else:
        print(result)

Iris Recognition Sample

import os
from mimicx import MimicVision

# Get the current directory of this script
folder_path = os.path.dirname(__file__)

if __name__ == "__main__":
    # Initialize the MimicVision client
    client = MimicVision()

    # Load the iris recognition model
    client.load('iris_recognition')

    # Define image paths
    img_path_1 = os.path.join(folder_path, "image1.png")
    img_path_2 = os.path.join(folder_path, "image2.png")

    # Extract iris features
    features1 = client.extract_iris_feature(img_path_1)
    features2 = client.extract_iris_feature(img_path_2)

    # Compare iris features
    result = client.compare_features_iris(features1, features2)

    if isinstance(result, (float, int)):
        print(f"Iris similarity: {result:.2f}")
    else:
        print(result)

Notes

  • Ensure that the images exist in the same directory as this script.

  • The MimicX package must be installed and properly configured.

  • The load('face_recognition') call initializes the face recognition model.

✨ Key Features

  • MimicVision: processes and interprets visual data, enabling advanced image and video understanding.

  • MimicText: handles natural language processing and contextual text reasoning.

  • MimicVoice: works with audio signals for speech recognition, synthesis, and voice interaction.

  • MimicFeel: captures and interprets tactile and sensory data to simulate touch and emotion.

  • MimicTwin: creates and manages digital twins, bridging physical and virtual environments.

  • MimicPhy: interfaces with physical systems for autonomous control and robotics.

  • MimicSense: integrates multisensory data streams for comprehensive environmental awareness.

  • MimicMind: enables high-level cognitive functions including planning, decision-making, and adaptive learning.

📦 Installation

The GenAI Processors library requires Python 3.10+.

Install it with:

pip install mimicx

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.

📜 License

This project is licensed under the MIT License, See the LICENSE file for details.

Mimicx Terms of Services

If you make use of Mimicx via the MimicX library, please ensure you review the Terms of Service.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mimicx-0.1.9.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mimicx-0.1.9-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mimicx-0.1.9.tar.gz.

File metadata

  • Download URL: mimicx-0.1.9.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for mimicx-0.1.9.tar.gz
Algorithm Hash digest
SHA256 2a548cd1a84921bf6c0462732da0553f705e26106e606ac39514e024654d5de0
MD5 42f2047d8a06acf008737f3e9e585e91
BLAKE2b-256 7f3c64492ded0e6e278016424bfcce8d661b1900a7cf4b4a5d45016080e2d489

See more details on using hashes here.

File details

Details for the file mimicx-0.1.9-py2.py3-none-any.whl.

File metadata

  • Download URL: mimicx-0.1.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for mimicx-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4791d51fd206dd1f7a7e41cd55479ce462cdfff4df52f1d30b269d8775c3f18c
MD5 ab7774a0d8ee7710bb5cd804a76244aa
BLAKE2b-256 63c7a549211e5c1917c5aa9160d02ad1a331b47c8fee53f6368430b841cff58b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page