{"id":13436336,"url":"https://github.com/MaybeShewill-CV/MNN-LaneNet","last_synced_at":"2025-03-18T21:30:19.220Z","repository":{"id":89578680,"uuid":"220468141","full_name":"MaybeShewill-CV/MNN-LaneNet","owner":"MaybeShewill-CV","description":"Lane detection model for mobile device via MNN project","archived":false,"fork":false,"pushed_at":"2020-04-14T12:16:43.000Z","size":1054,"stargazers_count":75,"open_issues_count":1,"forks_count":20,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-27T20:19:05.928Z","etag":null,"topics":["deep-learning","lane-detection","mnn","semantic-segmentation"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaybeShewill-CV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-11-08T13:03:28.000Z","updated_at":"2024-08-07T13:16:57.000Z","dependencies_parsed_at":"2024-01-21T03:59:18.473Z","dependency_job_id":null,"html_url":"https://github.com/MaybeShewill-CV/MNN-LaneNet","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/MaybeShewill-CV%2FMNN-LaneNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaybeShewill-CV%2FMNN-LaneNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaybeShewill-CV%2FMNN-LaneNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaybeShewill-CV%2FMNN-LaneNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaybeShewill-CV","download_url":"https://codeload.github.com/MaybeShewill-CV/MNN-LaneNet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244310241,"owners_count":20432500,"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":["deep-learning","lane-detection","mnn","semantic-segmentation"],"created_at":"2024-07-31T03:00:46.873Z","updated_at":"2025-03-18T21:30:18.587Z","avatar_url":"https://github.com/MaybeShewill-CV.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# MNN-LaneNet\nLane detection model for mobile device via MNN project. Thanks for the\ngreat efforts of [li-qing](https://github.com/li-qing) etc.\n\n# LaneNet-Lane-Detection\nUse tensorflow to implement a Deep Neural Network for real time lane\ndetection mainly based on the IEEE IV conference paper \"Towards\nEnd-to-End Lane Detection: an Instance Segmentation Approach\".You can\nrefer to their paper for details https://arxiv.org/abs/1802.05591. This\nmodel consists of a encoder-decoder stage, binary semantic segmentation\nstage and instance semantic segmentation using discriminative loss\nfunction for real time lane detection task.\n\nThe main network architecture is as follows:\n\n`Network Architecture`\n![NetWork_Architecture](./data/source_image/network_architecture.png)\n\n## Installation\nThis project has been built and tested on Ubuntu16.04. Tests on other\nplatform will be done recently.\n\n**OS**: Ubuntu 16.04 LTS\n\n**Tensorflow**: tensorflow 1.12.0\n\n**MNN**: mnn 0.2.1.0\n\n#### Common Preparation\n\n```\n1.cd ROOT_DIR \u0026\u0026 git clone https://github.com/MaybeShewill-CV/MNN-LaneNet.git\n2.Download the ckpt file path here https://www.dropbox.com/sh/yndoipxt6nbhg5g/AAAPxZDDO2N0HP0YonetamJoa?dl=0\nand place the ckpt file into folder ./checkpoint\n```\n\n#### Convert Model File\n\nFirst you need to compile your own MNNConverter tools in your local\nenvironment. Then you're supposed to modify the script for conversion in\nfolder ./checkpoint convert_ckpt_into_mnn_model.sh. Run the following\ncommands\n```\ncd ROOT_DIR\nbash checkpoint/convert_ckpt_into_mnn_model.sh MNNConverter_TOOL_PATH\n```\nYou may get some useful information via following command\n```\ncd ROOT_DIR\nbash checkpoint/convert_ckpt_into_mnn_model.sh -h\n```\nYou will get the mnn model named lanenet_model.mnn in folder ./checkpoint\nif everything works correctly\n\n#### Build Binary file\n\n```\n1.cd ROOT_DIR/build\n2.cmake .. \u0026\u0026 make -j4\n```\nYou will get the built executable binary file named lane_detector.out in\nfolder ./build if everything works correctly\n\n## Test model\n\nRun the following command\n```\ncd ROOT_DIR/build\n./lanenet_detector.out ./config.ini ../data/tusimple_test_image/lanenet_test.jpg\n```\n\nThe results are as follows:\n\n`Test Input Image`\n\n![Test Input](./data/tusimple_test_image/lanenet_test.jpg)\n\n`Test Lane Binary Segmentation Image`\n\n![Test Lane_Binary_Seg](./data/source_image/binary_ret.png)\n\n`Test Lane Instance Segmentation Image`\n\n![Test Lane_Instance_Seg](./data/source_image/instance_ret.png)\n\n## Reference\n\nThe origin lanenet repo can be found [here](https://github.com/MaybeShewill-CV/lanenet-lane-detection).\nFeel free to raise issues to help the repo become better.\n\n## TODO\n- [ ] Test the model on TX2 platform\n- [ ] Add time cost profile tools to evaluate the speed on different\nplatform\n\n## Acknowledgement\n\nThe lanenet project refers to the following projects:\n\n- [Tensorflow](https://github.com/tensorflow/tensorflow)\n- [MNN](https://github.com/alibaba/MNN)\n- [SimpleDBSCAN](https://github.com/CallmeNezha/SimpleDBSCAN)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaybeShewill-CV%2FMNN-LaneNet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMaybeShewill-CV%2FMNN-LaneNet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMaybeShewill-CV%2FMNN-LaneNet/lists"}