Skip to main content

MkNxGn Client for MkRec. Free for use.

Project description

<script src="https://mkrec.mknxgn.pro/rainbow.js"></script> <style> @font-face { font-family: MkFont; src: url(https://mkrec.mknxgn.pro/MkFont.ttf); }
    .title {
        font-family: MkFont;
        font-size: xx-large;
        padding: 10px;
        text-align: center;
    }
</style>
MK Rec
Open Image Recognition - Client
Created By Mark @ MkNxGn

pip install MkRecClient
Use this module to interact with MkRec on a programmatic level with python! Build an API for your uses to use your services with MkRec and build awesome applications.


Register your client with the server for maximum security!
#Register the client
usr = input("My Username: ")
MkRecClient.Register_Client(usr)

    Get a list of active machines
    <pre><code data-language="python">#Get Machines

MkRecClient.Register_Client() print(MkRecClient.get_machines())

    Get Machine Trained Titles, What the machines knows
    <pre><code data-language="python">#Get Machine Trained Titles, What the machines knows

MkRecClient.Register_Client() Machines = MkRecClient.get_machines() print(Machines['Animals'].titles)

    Get Machine Training Stats
<pre><code data-language="python">#Get Machine Training Data

MkRecClient.Register_Client() Machines = MkRecClient.get_machines() print(Machines['Animals'].train_acc) #Machine accuracy

OR

print(Machines['Animals'].training) #All stats
Get the value of points attached to your account

#Get the value of points attached to your account
MkRecClient.Register_Client()
print(MkRecClient.get_points())

And Finally, what we've all been waiting for, how to send an image to the machine!

#Send an Image to get results!
result = MkRecClient.PredictImage(MkRecClient.prep_img("img.png"), "Animals")
result.result #the best result
result.all_results #all results
result.remaing_points #how many points you have now
result.possible_titles #all possible titles of the machine
#if the result wasn't correct, and you had heap=True
result.correct('correct class')

Project details


Download files

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

Source Distribution

MkRecClient-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

MkRecClient-0.0.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

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