├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE └── README.md /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at [hi@aaronhma.com](mailto:hi@aaronhma.com?subject=Awesome%20TensorFlow.js:%20Code of Conduct Violation). All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution Guidelines 2 | 3 | Thanks for taking the time to contribute :+1: 4 | 5 | We accept contributions via Pull Requests on [GitHub](https://github.com/aaronhma/awesome-tensorflow-js). 6 | 7 | The following is a set of guidelines for contributing to Awesome TensorFlowJS. These are just guidelines, not rules, use your best judgment and feel free to propose changes to this project. 8 | 9 | 10 | ## 🛠 How to Contribute 11 | 12 | ### 🩹Create an issue 13 | 14 | Do you know any cool TensorFlow.js project that aren't in this list? Isn't on the [open issues](https://github.com/aaronhma/awesome-tensorflow-js/issues) or [pull requests](https://github.com/aaronhma/awesome-tensorflow-js/pulls)? 15 | Please create a new issue or submit a pull request, we will be happy to receive it! 16 | 17 | ### 💖 Submit a Pull Request 18 | 19 | - **Sync** - Please make sure your repository is up to date with ours to avoid conflicts as much as possible. 20 | - **Language** - Please make sure to check your contribution for grammar mistakes and typos as much as possible. 21 | - **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. 22 | - **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. 23 | 24 | ### 👍Voting and commenting 🗣 25 | 26 | Just use GitHub reactions and comments to express your feelings/experience about open suggestions (additions or removals). 27 | 28 | ### 📚 Guidelines 29 | 30 | - Please search previous suggestions before making a new one, as yours may be a duplicate. 31 | - Use the following format: `[Project Name](http://example.com/) - A short description.` 32 | - The link should be the name of the package or project. 33 | - Links and categories should be sorted alphabetically. 34 | - Add one link per pull-request. 35 | - Keep descriptions sentence case, concise, clear and simple, and end them with a period/stop. 36 | - Check your spelling and grammar. 37 | - New categories, or improvements to the existing ones are also welcome. 38 | - Make sure your text editor is set to remove trailing whitespace. 39 | 40 | 41 | ## Thank you for contributing 42 | 43 | We welcome all contributions from everyone, but make sure you read our [Code of Conduct](CODE_OF_CONDUCT.md). 44 | 45 | Upon contributing, you agree to abide by the following: 46 | 47 | - You agree to abide by the [Code of Conduct](CODE_OF_CONDUCT.md) at all times. 48 | - You spellchecked your text with either Grammarly (AI-powered writing tool) or yourself. 49 | - If necessary, you have added a short, but descriptive description after the link, with proper punctuation. 50 | 51 | Thank you for contributing! I look forward to reviewing your PR! 🔮 52 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Legal Code 2 | 3 | CC0 1.0 Universal 4 | 5 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE 6 | LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN 7 | ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 8 | INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES 9 | REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS 10 | PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 11 | THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED 12 | HEREUNDER. 13 | 14 | Statement of Purpose 15 | 16 | The laws of most jurisdictions throughout the world automatically confer 17 | exclusive Copyright and Related Rights (defined below) upon the creator 18 | and subsequent owner(s) (each and all, an "owner") of an original work of 19 | authorship and/or a database (each, a "Work"). 20 | 21 | Certain owners wish to permanently relinquish those rights to a Work for 22 | the purpose of contributing to a commons of creative, cultural and 23 | scientific works ("Commons") that the public can reliably and without fear 24 | of later claims of infringement build upon, modify, incorporate in other 25 | works, reuse and redistribute as freely as possible in any form whatsoever 26 | and for any purposes, including without limitation commercial purposes. 27 | These owners may contribute to the Commons to promote the ideal of a free 28 | culture and the further production of creative, cultural and scientific 29 | works, or to gain reputation or greater distribution for their Work in 30 | part through the use and efforts of others. 31 | 32 | For these and/or other purposes and motivations, and without any 33 | expectation of additional consideration or compensation, the person 34 | associating CC0 with a Work (the "Affirmer"), to the extent that he or she 35 | is an owner of Copyright and Related Rights in the Work, voluntarily 36 | elects to apply CC0 to the Work and publicly distribute the Work under its 37 | terms, with knowledge of his or her Copyright and Related Rights in the 38 | Work and the meaning and intended legal effect of CC0 on those rights. 39 | 40 | 1. Copyright and Related Rights. A Work made available under CC0 may be 41 | protected by copyright and related or neighboring rights ("Copyright and 42 | Related Rights"). Copyright and Related Rights include, but are not 43 | limited to, the following: 44 | 45 | i. the right to reproduce, adapt, distribute, perform, display, 46 | communicate, and translate a Work; 47 | ii. moral rights retained by the original author(s) and/or performer(s); 48 | iii. publicity and privacy rights pertaining to a person's image or 49 | likeness depicted in a Work; 50 | iv. rights protecting against unfair competition in regards to a Work, 51 | subject to the limitations in paragraph 4(a), below; 52 | v. rights protecting the extraction, dissemination, use and reuse of data 53 | in a Work; 54 | vi. database rights (such as those arising under Directive 96/9/EC of the 55 | European Parliament and of the Council of 11 March 1996 on the legal 56 | protection of databases, and under any national implementation 57 | thereof, including any amended or successor version of such 58 | directive); and 59 | vii. other similar, equivalent or corresponding rights throughout the 60 | world based on applicable law or treaty, and any national 61 | implementations thereof. 62 | 63 | 2. Waiver. To the greatest extent permitted by, but not in contravention 64 | of, applicable law, Affirmer hereby overtly, fully, permanently, 65 | irrevocably and unconditionally waives, abandons, and surrenders all of 66 | Affirmer's Copyright and Related Rights and associated claims and causes 67 | of action, whether now known or unknown (including existing as well as 68 | future claims and causes of action), in the Work (i) in all territories 69 | worldwide, (ii) for the maximum duration provided by applicable law or 70 | treaty (including future time extensions), (iii) in any current or future 71 | medium and for any number of copies, and (iv) for any purpose whatsoever, 72 | including without limitation commercial, advertising or promotional 73 | purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each 74 | member of the public at large and to the detriment of Affirmer's heirs and 75 | successors, fully intending that such Waiver shall not be subject to 76 | revocation, rescission, cancellation, termination, or any other legal or 77 | equitable action to disrupt the quiet enjoyment of the Work by the public 78 | as contemplated by Affirmer's express Statement of Purpose. 79 | 80 | 3. Public License Fallback. Should any part of the Waiver for any reason 81 | be judged legally invalid or ineffective under applicable law, then the 82 | Waiver shall be preserved to the maximum extent permitted taking into 83 | account Affirmer's express Statement of Purpose. In addition, to the 84 | extent the Waiver is so judged Affirmer hereby grants to each affected 85 | person a royalty-free, non transferable, non sublicensable, non exclusive, 86 | irrevocable and unconditional license to exercise Affirmer's Copyright and 87 | Related Rights in the Work (i) in all territories worldwide, (ii) for the 88 | maximum duration provided by applicable law or treaty (including future 89 | time extensions), (iii) in any current or future medium and for any number 90 | of copies, and (iv) for any purpose whatsoever, including without 91 | limitation commercial, advertising or promotional purposes (the 92 | "License"). The License shall be deemed effective as of the date CC0 was 93 | applied by Affirmer to the Work. Should any part of the License for any 94 | reason be judged legally invalid or ineffective under applicable law, such 95 | partial invalidity or ineffectiveness shall not invalidate the remainder 96 | of the License, and in such case Affirmer hereby affirms that he or she 97 | will not (i) exercise any of his or her remaining Copyright and Related 98 | Rights in the Work or (ii) assert any associated claims and causes of 99 | action with respect to the Work, in either case contrary to Affirmer's 100 | express Statement of Purpose. 101 | 102 | 4. Limitations and Disclaimers. 103 | 104 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 105 | surrendered, licensed or otherwise affected by this document. 106 | b. Affirmer offers the Work as-is and makes no representations or 107 | warranties of any kind concerning the Work, express, implied, 108 | statutory or otherwise, including without limitation warranties of 109 | title, merchantability, fitness for a particular purpose, non 110 | infringement, or the absence of latent or other defects, accuracy, or 111 | the present or absence of errors, whether or not discoverable, all to 112 | the greatest extent permissible under applicable law. 113 | c. Affirmer disclaims responsibility for clearing rights of other persons 114 | that may apply to the Work or any use thereof, including without 115 | limitation any person's Copyright and Related Rights in the Work. 116 | Further, Affirmer disclaims responsibility for obtaining any necessary 117 | consents, permissions or other rights required for any use of the 118 | Work. 119 | d. Affirmer understands and acknowledges that Creative Commons is not a 120 | party to this document and has no duty or obligation with respect to 121 | this CC0 or use of the Work. 122 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Awesome TensorFlowJS [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) 2 | 3 | TensorFlow.js is an open source software library to develop machine learning models in JavaScript, and use machine learning 4 | (training and inference) directly in the browser or Node.js. 5 | 6 | This list is a collection of the best [TensorFlow.js](https://www.tensorflow.org/js) tools, resources, videos and shiny things. 7 | 8 | --- 9 | 10 | ## Contents 11 | 12 | - [Learn](#learn) 13 | - [Documentation](#documentation) 14 | - [Tutorials](#tutorials) 15 | - [Models/Projects](#modelsprojects) 16 | - [Papers](#papers) 17 | - [Videos](#videos) 18 | - [Books](#books) 19 | - [Blog & Posts](#blog--posts) 20 | - [Powered by TensorFlow.js](#powered-by-tensorflowjs) 21 | 22 | - [Tools](#tools) 23 | - [Libraries](#libraries) 24 | - [Tools/Utilities](#toolsutilities) 25 | 26 | - [Community](#community) 27 | - [Online Community](#online-community) 28 | - [Social Media](#social-media) 29 | 30 | - [Contributions](#contributions) 31 | 32 | --- 33 | 34 | ## 📖 Learn 35 | 36 | ### Documentation 37 | 38 | - [Official Documentation](https://www.tensorflow.org/js/guide) 39 | - [API Reference](https://js.tensorflow.org/api/latest/) 40 | 41 | 42 | ### 📝 Tutorials 43 | 44 | - [TensorFlow.js gallery](https://github.com/tensorflow/tfjs/blob/master/GALLERY.md) - A collection of TensorFlow.js projects, tutorials, videos, and more. 45 | - [Machine Learning Crash Course](https://developers.google.com/machine-learning/crash-course/) - Google's fast-paced, practical introduction to machine learning. 46 | - [Google Codelabs](https://codelabs.developers.google.com/) - Google Developers Codelabs provide a guided, tutorial, hands-on coding experience. 47 | - [Beginning ML with TensorFlow.js](https://academy.infinite.red/p/beginning-machine-learning-with-tensorflow-js) - Full online course for web devs to get into TF.js. 48 | - [Effective TensorFlow.js](https://effectivemachinelearning.com/TensorFlow.js) - TensorFlow.js tutorials and best practices. 49 | 50 | 51 | ### 🤖 Models/Projects 52 | 53 | - [Official tfjs models on TensorFlow.js repo](https://github.com/tensorflow/tfjs-models) - Pretrained models for TensorFlow.js. 54 | - [Official tfjs models on TensorFlow.js website](https://www.tensorflow.org/js/models) - Explore pre-trained TensorFlow.js models that can be used in any project out of the box. 55 | - [@tensorflow-models on NPM](https://www.npmjs.com/search?q=%40tensorflow-models) - Various pretrained models for TensorFlow.js on NPM. 56 | - [Official tfjs examples repo](https://github.com/tensorflow/tfjs-examples) - Examples built with TensorFlow.js! 57 | - [Official tfjs demo website](https://www.tensorflow.org/js/demos) - See examples and live demos built with TensorFlow.js! 58 | 59 | 60 | ### 📎 Papers 61 | 62 | - [TensorFlow.js: Machine Learning for the Web and Beyond](https://arxiv.org/abs/1901.05350) - This paper describes the design, API, and implementation of TensorFlow.js, and highlights some of the impactful use cases. 63 | - [JSDoop and TensorFlow.js: Volunteer Distributed Web Browser-Based Neural Network Training](https://arxiv.org/abs/1910.07402) - The experimental results show that training a neural network in distributed web browsers is feasible and accurate, has a high scalability, and it is an interesting area for research. 64 | 65 | 66 | ### 🎥 Videos 67 | 68 | - [Official TensorFlow.js video series](https://www.youtube.com/playlist?reload=9&list=PLs6AluHXaQnjeI6jzDkpKXvbPj31i4GgF) - The YouTube content focuses on TensorFlow ecosystem updates. 69 | - [TensorFlow.js: ML for the web and beyond](https://youtu.be/iH9CS-QYmZs) - TensorFlow Dev Summit 2020. 70 | - [Rock Paper Scissors!](https://www.youtube.com/watch?v=y4pfTQJaUJU) - Train Rock Paper Scissors on your machine and watch the results with your webcam! 71 | - [Color Blind Tensors](https://www.youtube.com/watch?v=X55m9eS5UFU) - Manipulate image tensors to perceive color blindness, live coding. 72 | 73 | 74 | ### 📚 Books 75 | 76 | - [Deep Learning with JavaScript](https://www.manning.com/books/deep-learning-with-javascript) - Learn to use TensorFlow.js to build deep learning models that run directly in the browser, master all the basics of deep learning and explore advanced concepts, like retraining existing models for transfer learning and image generation by Shanqing Cai, Stanley Bileschi, Eric D. Nielsen and Francois Chollet. 77 | 78 | - [Hands-On Machine Learning with TensorFlow.js](https://www.amazon.com/Hands-Machine-Learning-TensorFlow-js-applications/dp/1838821732) - A guide to building ML applications integrated with web technology using the TensorFlow.js library by Kai Sasaki. 79 | 80 | - [Learning Tensorflow.js: Powerful Machine Learning in JavaScript](https://amzn.to/3dR3vpY) - In this guide, author [Gant Laborde](https://github.com/gantman) provides a hands-on, end-to-end approach to TensorFlow.js fundamentals for a broad technical audience that includes data scientists, engineers, web developers, students, and researchers. 81 | 82 | - [Practical TensorFlow.js](https://www.apress.com/gp/book/9781484262726) - Deep Learning in Web App Development by Juan De Dios Santos Rivera. 83 | 84 | - [Practical Machine Learning in JavaScript](https://www.apress.com/gp/book/9781484264171) - TensorFlow.js for Web Developers by Charlie Gerard. 85 | 86 | 87 | ### 📰 Blog & Posts 88 | 89 | - [Official TensorFlow.js blog](https://blog.tensorflow.org/search?label=TensorFlow.js&max-results=20) - Covers building models in JavaScript and using them in the browser or in Node.js. 90 | - [Towards Data Science](https://towardsdatascience.com/search?q=tensorflow.js) 91 | 92 | 93 | 94 | ### 🤩 Powered by TensorFlow.js 95 | 96 | - [Handwritten Digit Classification](https://github.com/aaronhma/ngconf-2020) - A showcase project for [NgConf 2020](https://www.ng-conf.org/) talk on **A Journey into the World of Machine Learning with TensorFlow.js**. 97 | - [NSFWJS - Indecent Content Checker](https://github.com/infinitered/nsfwjs) - A friendly library to check images to see if they are indecent content on either the client or the server! 98 | - [Pose Animator](https://pose-animator-demo.firebaseapp.com/camera.html) - A tool to bring SVG characters to life in the browser via motion capture. 99 | - [LipSync](https://lipsync.withyoutube.com/) - A web-based, playful, interactive experiences to lip sync to your favorite songs. 100 | - [BodyPix](https://storage.googleapis.com/tfjs-models/demos/body-pix/index.html) - A real-time person and body-part segmentation in the browser. 101 | 102 | 103 | ## 🔨 Tools 104 | 105 | ### Libraries 106 | 107 | - [TensorFlow.js](https://github.com/tensorflow/tfjs) - A WebGL accelerated JavaScript library for training and deploying ML models. 108 | - [ml5.js](https://ml5js.org/) - Friendly machine learning for the web. 109 | - [face-api.js](https://github.com/justadudewhohacks/face-api.js) - JavaScript API for face detection and face recognition in the browser and Node.js with tensorflow.js. 110 | - [handtrack.js](https://github.com/victordibia/handtrack.js/) - A library for prototyping realtime hand detection (bounding box), directly in the browser. 111 | - [magenta.js](https://magenta.tensorflow.org/get-started/#magenta-js) - Music and Art Generation with Machine Intelligence in the Browser. 112 | - [Danfo.js](https://danfo.jsdata.org/) - High-performance, intuitive, and easy-to-use data structures for manipulating and processing structured data. (Inspired by Pandas) 113 | 114 | 115 | ### Tools/Utilities 116 | 117 | - [Glitch](https://glitch.com/@TensorFlowJS) - Build fast, full-stack web apps in browser for free (Tensorflow.js templates). 118 | - [CodePen](https://codepen.io) - *bit.ly/codepen-tfjs* Best place to build, test and discover front-end code (Tensorflow.js templates). 119 | - [TensorFlow Playground](https://playground.tensorflow.org) - Tinker With a Neural Network Right Here in Your Browser! 120 | - [AiJS](https://aijs.rocks/) - A curated collection of inspirational AI-powered JavaScript apps. 121 | - [Teachable Machine](https://teachablemachine.withgoogle.com/) - Train a computer to recognize your own images, sounds, & poses! 122 | - [TensorPlayground.com](https://www.tensorplayground.com/1.0.0/) - Write, modify, and view tensors directly in the browser. Then share the code with others. 123 | 124 | 125 | ## 🎉 Community 126 | 127 | ### Online Community 128 | 129 | - [Twitter](https://twitter.com/tensorflow) 130 | - [Stack Overflow](https://stackoverflow.com/questions/tagged/tensorflow.js) 131 | - [Reddit](https://www.reddit.com/r/TensorFlowJS) 132 | 133 | 134 | ### Social Media 135 | 136 | - [#MadeWithTFJS](https://twitter.com/hashtag/MadeWithTFJS) - See what the community has made and share your work! 137 | - [Laurence Moroney](https://twitter.com/lmoroney) - Lead of AI Developer Relations at Google. 138 | - [Nikhil Thorat](https://twitter.com/nsthorat) - Co-lead of TensorFlow.js. 139 | - [Daniel Smilkov](https://twitter.com/dsmilkov) - Co-creator of TensorFlow.js. 140 | - [Paige Bailey](https://twitter.com/DynamicWebPaige) - Building 141 | Google AI for everyone, and for every platform. 142 | - [Aaron Ma](https://twitter.com/aaronhma) - World's youngest TensorFlow contributor! 143 | - [Sandeep Gupta](https://twitter.com/TheSandeepGupta) - Product Manager for TensorFlow. 144 | - [Jason Mayes](https://twitter.com/jason_mayes) - Developer advocate for TensorFlow.js. 145 | - [Gant Laborde](https://twitter.com/GantLaborde) - Web & Machine Learning GDE. 146 | 147 | ## 💡 Contributions 148 | 149 | Your contributions are always welcome! 150 | 151 | If you want to contribute to this list (please do), send me a pull request or contact me [@aaronhma on Twitter](https://twitter.com/aaronhma) 152 | Also, if you notice that any of the above listed repositories should be deprecated, due to any of the following reasons: 153 | 154 | - The repository's owner explicitly says that "this library is not maintained". 155 | - Not committed for long time (2~3 years). 156 | 157 | More info on the [guidelines](CONTRIBUTING.md). 158 | 159 | **NOTE: In order to create an community that is welcome for all, ALL contributors MUST agree to the [Code of Conduct](https://github.com/aaronhma/awesome-tensorflow-js/blob/master/CODE_OF_CONDUCT.md).** 160 | 161 | ## ⭐ Star History 162 | 163 | [![Star History Chart](https://api.star-history.com/svg?repos=aaronhma/awesome-tensorflow-js&type=Date)](https://www.star-history.com/#aaronhma/awesome-tensorflow-js&Date) 164 | --------------------------------------------------------------------------------