{"id":13520213,"url":"https://github.com/fossabot/Cyclens","last_synced_at":"2025-03-31T16:30:56.955Z","repository":{"id":107136658,"uuid":"193278852","full_name":"fossabot/Cyclens","owner":"fossabot","description":"Blazingly Fast, Async, Multi-Task, All-in-One, Image Recognition API Server","archived":false,"fork":false,"pushed_at":"2019-06-22T20:54:41.000Z","size":23688,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-02T05:23:00.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fossabot.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null}},"created_at":"2019-06-22T20:57:51.000Z","updated_at":"2019-07-05T20:54:12.000Z","dependencies_parsed_at":"2024-02-23T01:29:06.808Z","dependency_job_id":null,"html_url":"https://github.com/fossabot/Cyclens","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossabot%2FCyclens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossabot%2FCyclens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossabot%2FCyclens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fossabot%2FCyclens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fossabot","download_url":"https://codeload.github.com/fossabot/Cyclens/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222670691,"owners_count":17020513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:02:14.218Z","updated_at":"2024-11-02T03:30:47.123Z","avatar_url":"https://github.com/fossabot.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# [Cyclens](https://github.com/Dentrax/Cyclens)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FDentrax%2FCyclens.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FDentrax%2FCyclens?ref=badge_shield)\n[![Sourcegraph](https://img.shields.io/badge/view%20on-Sourcegraph-brightgreen.svg)](https://sourcegraph.com/github.com/Dentrax/Cyclens)\n\n**Blazingly Fast, Async, Multi-Task, All-in-One, Image Recognition Modules**\n\n[What It Is](#what-it-is)\n\n[Features](#features)\n\n[How To Use](#how-to-use)\n\n[Installation](#installation)\n\n[Requirements](#requirements)\n\n[Dependencies](#dependencies)\n\n[Collaborators](#collaborators)\n\n[Branches](#branches)\n\n[Copyright \u0026 Licensing](#copyright--licensing)\n\n[Contributing](#contributing)\n\n## What It Is\n\n**Cyclens is an All-in-One recognition API server with Async features.**\n\n* Age Prediction\n\n* Emotion Recognition\n\n* Face Recognition\n\n* Gender Prediction\n\n## Features\n\n* Pipeline based process structure between tasks\n\n* Async powered, non-blocking API loop\n\n* Multitask struct for each module process\n\n* Apache Solr powered face search engine\n\n## How To Use\n\n* Download the Cyclens Mobile Client [here](https://github.com/metinUr/cyclens-client)\n\nJust send a POST request with module parameters to the Flask server.\n\n* cURL POST \n```bash\n$ curl -F \"file=@/home/path/to/your/image/file.jpg\" http://localhost:5000/api/v1/demo/single?ar=true\u0026ap=true\u0026er=true\u0026fr=true\u0026gp=true\n```\n\n* Face Recognition \n```bash\n$ curl -F \"file=@/home/path/to/your/image/file.jpg\" http://localhost:5000/api/v1/demo/face_add?id=0\u0026name=FooBar\n```\n\n* Example Output:\n```json\n{\n    \"success\": true,\n    \"message\": \"null\",\n    \"process\": {\n        \"start\": \"2019-06-02T01:50:05.731130\",\n        \"end\": \"2019-06-02T01:50:06.580368\",\n        \"total\": 849.24\n    },\n    \"modules\": [\n        {\n            \"success\": true,\n            \"module\": \"module_name\",\n            \"message\": \"null\",\n            \"process\": {\n                \"start\": \"2019-06-02T01:50:05.731208\",\n                \"end\": \"2019-06-02T01:50:06.579839\",\n                \"total\": 848.63,\n                \"locations\": 97.39,\n                \"encodings\": 240.98,\n                \"search\": 21.1\n            },\n            \"found\": 1,\n            \"rate\": 100.0,\n            \"faces\": [\n                {\n                    \"result\": \"Test\",\n                    \"confidence\": 0.87\n                }\n            ]\n        },\n    ]\n}\n```\n\n## Installation\n\n1. Clone the project to your computer and navigate to folder by executing the following command:\n```bash\n$ git clone https://github.com/Dentrax/Cyclens.git \u0026\u0026 cd ./Cyclens/\n```\n\n2. Create your own virtualenv and install the requirements by executing the following commands:\n```bash\n$ virtualenv -p python ./\n$ source ./bin/activate\n$ pip install -r requirements.txt\n```\n\n3. Run the Cyclens with following command\n```bash\n$ sh ./start.sh\n```\n\n* Run this command if you want to test all cases\n```bash\n$ python -m unittest -v\n```\n\n* Run this command if you want to test demo project\n```bash\n$ python ./demo/demo.py\n```\n\n## Requirements\n\n### Data Models\n\n1. Download [this](https://github.com/Tony607/Keras_age_gender/releases/download/V1.0/weights.18-4.06.hdf5) and put in `./models/data/age/`\n2. Download [this](https://github.com/oarriaga/face_classification/raw/master/trained_models/emotion_models/fer2013_mini_XCEPTION.102-0.66.hdf5) and put in `./models/data/emotion/`\n3. Download [this](https://github.com/ageitgey/face_recognition_models/tree/master/face_recognition_models/models) and put in `./models/data/face/`\n4. Download [this](https://github.com/oarriaga/face_classification/raw/master/trained_models/gender_models/simple_CNN.81-0.96.hdf5) and put in `./models/data/gender/`\n\n### Apache Solr\n\n1. Download the Apache Solr from [here](https://lucene.apache.org/solr/downloads.html)\n2. Start the Solr with: `./bin/solr start`\n3. Make sure the Solr running on the port `8983`\n\n## Dependencies\n\n* Please see the **[requirements.txt](https://github.com/Dentrax/Cyclens/blob/master/requirements.txt)** file for dependency informations\n\n## Collaborators\n\n* Furkan Türkal (GitHub: **[Dentrax](https://github.com/Dentrax)**)\n* Metin UR (GitHub: **[metinUr](https://github.com/metinUr)**)\n\n## Branches\n\nWe publish source for the **[Cyclens]** in single rolling branch:\n\nThe **[master branch](https://github.com/Dentrax/Cyclens/tree/master)** is extensively tested and makes a great starting point. Also tracks [live changes](https://github.com/Dentrax/Cyclens/commits/master) by commits.\n\n## Copyright \u0026 Licensing\n \n All program code (i.e. .py) is licensed under **MIT** License unless otherwise specified. Please see the **[LICENSE](https://github.com/Dentrax/Netlyser/blob/master/LICENSE)** file for more information.\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FDentrax%2FCyclens.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FDentrax%2FCyclens?ref=badge_large)\n\n**References**\n\nWhile this repository is being prepared, it may have been quoted from some sources.\n\nPlease see the **[REFERENCES](https://github.com/Dentrax/Cyclens/blob/master/REFERENCES)** file for more information.\n\nIf there is an unspecified source or if you think that I made a copyright infringement, please contact with me.\n\n## Contributing\n\nPlease check the [CONTRIBUTING.MD](CONTRIBUTING.MD) file for contribution instructions and naming guidelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffossabot%2FCyclens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffossabot%2FCyclens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffossabot%2FCyclens/lists"}