{"id":21627148,"url":"https://github.com/xxczaki/ship-classifier","last_synced_at":"2025-07-12T17:34:09.762Z","repository":{"id":88740017,"uuid":"220712990","full_name":"xxczaki/ship-classifier","owner":"xxczaki","description":"Classify ship types using machine learning (beta)","archived":false,"fork":false,"pushed_at":"2025-06-05T18:20:17.000Z","size":3544,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T03:02:33.326Z","etag":null,"topics":["artificial-intelligence","classifier","classify","image-classification","image-classifier","image-recognition","javascript","machine-learning","model","nextjs","photo","react","ship","ships","tensorflow","tensorflow-examples","tensorflow-js","tensorflowjs"],"latest_commit_sha":null,"homepage":"https://ship-classifier.now.sh","language":"JavaScript","has_issues":true,"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/xxczaki.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-09T22:42:27.000Z","updated_at":"2023-05-09T09:58:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"46a7384b-00c6-4b1b-a608-14d94a3dc6b3","html_url":"https://github.com/xxczaki/ship-classifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xxczaki/ship-classifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxczaki%2Fship-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxczaki%2Fship-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxczaki%2Fship-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxczaki%2Fship-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xxczaki","download_url":"https://codeload.github.com/xxczaki/ship-classifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxczaki%2Fship-classifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265025615,"owners_count":23699788,"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":["artificial-intelligence","classifier","classify","image-classification","image-classifier","image-recognition","javascript","machine-learning","model","nextjs","photo","react","ship","ships","tensorflow","tensorflow-examples","tensorflow-js","tensorflowjs"],"created_at":"2024-11-25T01:15:41.060Z","updated_at":"2025-07-12T17:34:09.750Z","avatar_url":"https://github.com/xxczaki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ship Classifier 🚢\n\n\u003e Classify ship types using machine learning (beta)\n\n[![Build Status](https://travis-ci.org/xxczaki/ship-classifier.svg?branch=master)](https://travis-ci.org/xxczaki/ship-classifier)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n[![style: styled-components](https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357\u0026colorA=db748e)](https://github.com/styled-components/styled-components)\n\n---\n\n![Demo](demo.gif)\n\n## About\n\nThis app uses a machine learning model trained with pictures of 8 different ship types:\n\n- Passenger Vessel\n- Container Vessel\n- Bulk Vessel\n- Roll-on/Roll-off Vessel\n- Naval Vessel\n- Chemical Tanker\n- Sailing Ship\n- Submarine\n\nEach learning set contained between 50 and 78 images. The model itself was trained for about 1 minute.\n\nTo train the model I used [Teachable Machine](https://teachablemachine.withgoogle.com/), an AI Experiment by Google.\n\nShip Classifier uses [ml5](https://ml5js.org/), a high-level wrapper around [Tensorflow.js](https://www.tensorflow.org/js)\n\n## Working with the model\n\nIf you want to try using the model in your own app, it's available [here](https://github.com/xxczaki/ship-classifier/tree/master/public/model).\n\nIn case you would like to train the model yourself, [here](https://ln2.sync.com/dl/956e0cd70/vxkbdr9r-c5cyjkt2-7f5vg3tt-7wqqfpdx) you can download learning sets with sample photos.\n\nAs I mentioned earlier, to train the model I used Teachable Machine with the following configuration:\n\n```\nEpochs: 150\nBatch Size: 16\nLearning Rate: 0.00135\n```\n\n## Development\n\n\u003e Hosted with [now Δ](https://zeit.com/now)\n\n```\n# Install dependencies\n$ npm install\n\n# Start in development mode\n$ npm run dev\n\n# Build for production\n$ npm run build\n```\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxczaki%2Fship-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxxczaki%2Fship-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxczaki%2Fship-classifier/lists"}