{"id":13642240,"url":"https://github.com/maalik0786/FastYolo","last_synced_at":"2025-04-20T16:31:10.871Z","repository":{"id":44364578,"uuid":"210873222","full_name":"maalik0786/FastYolo","owner":"maalik0786","description":"Fast Yolo for fast initializing, object detection and tracking ","archived":false,"fork":false,"pushed_at":"2022-12-20T18:46:30.000Z","size":36941,"stargazers_count":36,"open_issues_count":10,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-02T02:06:04.203Z","etag":null,"topics":[],"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/maalik0786.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}},"created_at":"2019-09-25T15:01:45.000Z","updated_at":"2024-08-25T08:17:48.000Z","dependencies_parsed_at":"2023-01-30T01:31:04.781Z","dependency_job_id":null,"html_url":"https://github.com/maalik0786/FastYolo","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/maalik0786%2FFastYolo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maalik0786%2FFastYolo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maalik0786%2FFastYolo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maalik0786%2FFastYolo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maalik0786","download_url":"https://codeload.github.com/maalik0786/FastYolo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223832894,"owners_count":17210738,"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-02T01:01:28.900Z","updated_at":"2025-04-20T16:31:10.865Z","avatar_url":"https://github.com/maalik0786.png","language":"C#","funding_links":[],"categories":["Uncategorized","Other Versions of YOLO"],"sub_categories":["Uncategorized"],"readme":"# FastYolo\n\nYolo Object Detection library for .NET 7. This one requires Cuda 11.7 and CudNN 8.4.1 to be installed to work, it will use your NVidia GPU for processing (which is many times faster than using the CPU version that is disabled in this release). Any GPU from Maxwell upwards is support (Cuda api 5.2+, Maxwell GPUs like GTX 750 and above). Since 11.1 it also supports OpenCV for more advanced features like tracking, shape detection, etc.\n\t\t\t\nIncludes the .dll files for Yolo Darknet Wrapper, Real-Time Object Detection (yolo core of AlexeyAB/darknet), including opencv_world460.dll and pthreadVC2.dll as needed by the yolo_cpp_dll implementation.\n\n#### Different operating systems should have different cuda versions:\n1. Windows: should have Cuda 11.7 and CUDNN 8.3.2+ installed, if not an exception is thrown with detailed installation instructions.\nEnvironment path for cuda 11.7 must be set (installer does this), e.g. CUDA_PATH=C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\n2. If you get error: Could not load library cudnn_cnn_infer64_8.dll. Error code 126, \nPlease follow [this link](https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#install-zlib-windows) for proper installation of CUDNN\n3. Linux x64:  should have Cuda 11.7 and CUDNN 8.4.1+ installed, if not an exception is thrown with detailed installation instructions.\n4. Jetson Nano Arm64:  should have Cuda 10.0 and CUDNN 8 installed, if not an exception is thrown with detailed installation instructions.\n5. Jetson Xavier Arm64:  should have Cuda 10.2 and CUDNN 8 installed, if not an exception is thrown with detailed installation instructions.\n\nThe nuget installer includes all other needed files, for compiling it yourself, copy cudnn64_8.dll, opencv_world460.dll, pthreadVC2.dll into the FastYolo folder and compile yolo_cpp_dll.dll into it as well.\n\nCurrent version is for .NET 7, you can check older releases for .NET6, .NET 5, .NET Core 3.1, .NET 4.6 and lower.\n\n#### How to use:\n\n1. Create C# Console project\n2. add the Nuget Package as a reference in your project \n ```ini \n \u003cItemGroup\u003e\n   \u003cPackageReference Include=\"FastYolo\" Version=\"11.7.3\" /\u003e\n \u003c/ItemGroup\u003e\n ```\n3. open Program.cs file and paste the code below\n4. For complete examples please visit [here](https://github.com/maalik0786/FastYolo/blob/master/FastYolo.TestApp/Program.cs)\n\n#### Required files to run the code below:\n\n1. YoloConfigFile is available [here](https://github.com/maalik0786/FastYolo/blob/master/FastYolo.Tests/Assets/yolov3-tiny.cfg)\n2. YoloWeightsFile is available [here](https://pjreddie.com/media/files/yolov3-tiny.weights)\n3. YoloClassesFile is available [here](https://github.com/maalik0786/FastYolo/blob/master/FastYolo.Tests/Assets/coco.names)\n4. ImageFilename is available [here](https://github.com/maalik0786/FastYolo/blob/master/FastYolo.Tests/Assets/cars%20road.jpg)\n\n```ini\nYoloWrapper yoloWrapper = new YoloWrapper(YoloConfigFile, YoloWeightsFile, YoloClassesFile);\n\nvar image = Image.FromFile(ImageFilename);\nusing var memoryStream = new MemoryStream();\nimage.Save(memoryStream, image.RawFormat);\nvar byteArray = memoryStream.ToArray();\n\nIEnumerable\u003cYoloItem\u003e yoloItems yoloWrapper.Detect(byteArray);\n\nforeach (var item in yoloItems)\n  Console.WriteLine($\"Object Found: {item.Name} with Shape: {item.Shape}, X: {item.X}, Y: {item.Y}, Width: {item.Width}, Height: {item.Height}\"); \n```\nFor complete examples please visit [here](https://github.com/maalik0786/FastYolo/blob/master/FastYolo.Tests/YoloWrapperTests.cs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaalik0786%2FFastYolo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaalik0786%2FFastYolo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaalik0786%2FFastYolo/lists"}