{ "info": { "author": "Rahul Bhalley", "author_email": "rahulbhalley@icloud.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# Flow Python Client API\n\nGet started by obtaining your API key from official [webpage](https://theflowai.com).\n\n### Installation\n\nClone this repository\n\n```bash\ngit clone https://github.com/flow-artint/flow_ai.git\n```\n\nInstall this package from `flow_ai` directory\n\n```bash\ncd flow_ai\npip install .\n```\nUse `sudo` with `pip` above, if required.\n\n### Usage\n\nSimple demo of how to use this package for face detection. \n\n```python\nfrom flow_ai import FlowApp, Model\n\napp = FlowApp(api_key=\"YOUR_API_KEY\")\n\n# Setup some variables\ninput_url = \"https://qph.fs.quoracdn.net/main-qimg-53a3aa40f0b577ac69588681fb60d0c3-c\"\nmodel_name = Model.FACE_DETECTION\n\n# Now, make the prediction\nprediction = app.predict_by_url(input_url, model_name)\n\n# Get results\n(status_code, result) = prediction[\"status_code\"], prediction[\"result\"]\nbounding_box = result[0][:4]\nconfidence_score = result[0][-1]\n\nprint(f'status_code: {status_code}')\nprint(f'result: {result[0]}')\nprint(f\"bounding_box: {bounding_box}\")\nprint(f\"confidence_score: {confidence_score}\")\n```\n\nPrints the following:\n```\nstatus_code: 200\nresult: [315.84075927734375, 56.2187385559082, 370.674560546875, 128.3153839111328, 0.9999943971633911]\nbounding_box: [315.84075927734375, 56.2187385559082, 370.674560546875, 128.3153839111328]\nconfidence_score: 0.9999943971633911\n```\n\nSee [documentation](https://docs.theflow_ai.com) for detailed explanation.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/flow-artint/flow-python/archive/v0.0.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/flow-artint/flowai", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flowai", "package_url": "https://pypi.org/project/flowai/", "platform": "", "project_url": "https://pypi.org/project/flowai/", "project_urls": { "Download": "https://github.com/flow-artint/flow-python/archive/v0.0.2.tar.gz", "Homepage": "https://github.com/flow-artint/flowai" }, "release_url": "https://pypi.org/project/flowai/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Flow Python Client API", "version": "0.0.2" }, "last_serial": 5910270, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "bb5c6828a8110ac428138e59420af3f8", "sha256": "1463da9e164ca51023aabfca241125765eef76beee0b9daed09afeb323746eac" }, "downloads": -1, "filename": "flowai-0.0.2.tar.gz", "has_sig": false, "md5_digest": "bb5c6828a8110ac428138e59420af3f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4347, "upload_time": "2019-10-01T04:02:41", "url": "https://files.pythonhosted.org/packages/01/51/89dd72c54ec132b4f12dbaad4c74d3fec1c2eca651b31df4138d40c4db12/flowai-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bb5c6828a8110ac428138e59420af3f8", "sha256": "1463da9e164ca51023aabfca241125765eef76beee0b9daed09afeb323746eac" }, "downloads": -1, "filename": "flowai-0.0.2.tar.gz", "has_sig": false, "md5_digest": "bb5c6828a8110ac428138e59420af3f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4347, "upload_time": "2019-10-01T04:02:41", "url": "https://files.pythonhosted.org/packages/01/51/89dd72c54ec132b4f12dbaad4c74d3fec1c2eca651b31df4138d40c4db12/flowai-0.0.2.tar.gz" } ] }