Datasets:
text
stringlengths 37
37
|
---|
0 0.177647 0.139151 0.317647 0.268868 |
0 0.516471 0.139151 0.308235 0.254717 |
0 0.837647 0.141509 0.305882 0.268868 |
0 0.176471 0.455189 0.310588 0.278302 |
0 0.524706 0.466981 0.310588 0.273585 |
0 0.842353 0.459906 0.296471 0.273585 |
0 0.272941 0.791274 0.409412 0.346698 |
0 0.727059 0.791274 0.423529 0.337264 |
0 0.520000 0.488889 0.897500 0.508889 |
0 0.497549 0.502451 0.341503 0.279412 |
0 0.508889 0.542222 0.955556 0.702222 |
0 0.495915 0.347087 0.583333 0.529126 |
0 0.494281 0.565432 0.377451 0.261728 |
0 0.730392 0.878676 0.160131 0.188725 |
0 0.895425 0.835784 0.183007 0.210784 |
0 0.873366 0.660539 0.178105 0.188725 |
0 0.586601 0.761029 0.163399 0.188725 |
0 0.660131 0.645833 0.169935 0.188725 |
0 0.697712 0.522059 0.160131 0.161765 |
0 0.449346 0.623775 0.160131 0.188725 |
0 0.472222 0.490196 0.147059 0.161765 |
0 0.551471 0.399510 0.142157 0.151961 |
0 0.303105 0.485294 0.135621 0.166667 |
0 0.346405 0.384804 0.137255 0.147059 |
0 0.376634 0.251225 0.119281 0.120098 |
0 0.170752 0.357843 0.109477 0.127451 |
0 0.246732 0.287990 0.117647 0.144608 |
0 0.270425 0.161765 0.116013 0.112745 |
0 0.065359 0.284314 0.111111 0.127451 |
0 0.149510 0.220588 0.102941 0.117647 |
0 0.175654 0.106618 0.122549 0.120098 |
0 0.074346 0.161765 0.099673 0.098039 |
0 0.083333 0.052696 0.101307 0.100490 |
0 0.682190 0.784314 0.433007 0.328431 |
0 0.491830 0.441176 0.496732 0.539216 |
0 0.169118 0.667582 0.276144 0.324176 |
0 0.305556 0.520604 0.212418 0.282967 |
0 0.495915 0.502747 0.119281 0.302198 |
0 0.866013 0.656593 0.222222 0.280220 |
0 0.652505 0.561275 0.228758 0.122549 |
0 0.793028 0.619281 0.270153 0.150327 |
0 0.495098 0.566176 0.202614 0.377451 |
0 0.279412 0.547794 0.238562 0.350490 |
0 0.675654 0.822304 0.210784 0.355392 |
0 0.370915 0.317402 0.169935 0.227941 |
0 0.107026 0.486520 0.210784 0.301471 |
0 0.436275 0.136029 0.173203 0.257353 |
0 0.625000 0.139706 0.119281 0.220588 |
0 0.459150 0.682598 0.464052 0.262255 |
0 0.458333 0.527083 0.723333 0.345833 |
0 0.588235 0.761029 0.598039 0.379902 |
0 0.642974 0.596296 0.204248 0.160494 |
0 0.206699 0.257353 0.370915 0.294118 |
0 0.642974 0.592910 0.354575 0.276284 |
0 0.512255 0.678484 0.498366 0.515892 |
0 0.407680 0.674817 0.517974 0.352078 |
0 0.553105 0.481618 0.498366 0.296569 |
0 0.505719 0.677262 0.285948 0.420538 |
0 0.581699 0.389394 0.248366 0.245455 |
0 0.736928 0.586364 0.241830 0.233333 |
0 0.276961 0.539394 0.236928 0.248485 |
0 0.154412 0.469363 0.210784 0.767157 |
0 0.369281 0.503676 0.212418 0.791667 |
0 0.584967 0.497549 0.212418 0.803922 |
0 0.806373 0.474265 0.230392 0.840686 |
0 0.121000 0.215130 0.168667 0.120567 |
0 0.303333 0.227541 0.165333 0.102837 |
0 0.455667 0.219267 0.140667 0.095745 |
0 0.649333 0.224586 0.190667 0.089835 |
0 0.836333 0.225768 0.170000 0.137116 |
0 0.130667 0.365839 0.165333 0.100473 |
0 0.302333 0.367021 0.176667 0.109929 |
0 0.475000 0.369976 0.163333 0.115839 |
0 0.642333 0.382388 0.162000 0.124113 |
0 0.831000 0.385934 0.168667 0.119385 |
0 0.125000 0.502955 0.163333 0.107565 |
0 0.307000 0.514775 0.154000 0.107565 |
0 0.474333 0.526596 0.154000 0.107565 |
0 0.650000 0.541371 0.170667 0.118203 |
0 0.829000 0.552600 0.172667 0.138298 |
0 0.113667 0.643026 0.130000 0.075650 |
0 0.199333 0.747636 0.121333 0.254137 |
0 0.464667 0.693853 0.142667 0.115839 |
0 0.643333 0.700946 0.188000 0.167849 |
0 0.829000 0.732861 0.168667 0.160757 |
0 0.518791 0.471322 0.671569 0.513716 |
0 0.643791 0.530637 0.535948 0.311275 |
0 0.395425 0.758621 0.346405 0.310345 |
0 0.471814 0.646242 0.830882 0.328431 |
0 0.455065 0.683824 0.727124 0.372549 |
0 0.254085 0.656863 0.318627 0.470588 |
0 0.650327 0.601716 0.549020 0.419118 |
0 0.495915 0.466189 0.426471 0.243852 |
0 0.723039 0.603448 0.285948 0.423645 |
0 0.617647 0.755102 0.526144 0.371882 |
0 0.479427 0.467187 0.307812 0.243750 |
0 0.677865 0.446484 0.306771 0.232031 |
0 0.501634 0.660147 0.284314 0.347188 |
0 0.304739 0.470588 0.557190 0.465686 |
0 0.736928 0.519608 0.526144 0.622549 |
Hey everyone,
In my final year project, I created Smart Traffic Management System.
The project was to manage traffic lights' delays based on the number of vehicles on road.
I made everything worked using Raspberry Pi and pre-recorded videos but it was a "final year project", it was needed to be tested by changing videos frequently which was a kind of hustle. Collecting tons of videos and loading them in Pi was not too hard but it would have cost time, by every time changing names of videos in the code. Also, it was not possible to implement it in real (unless govt. would have permitted me, hehe). So I chose to showcase my work by making a beautiful prototype.
I know, the image isn't so appealing, I apologise for that, but you got the idea, right.
I placed my cars on tracks and took real-time video of the lanes from the two cameras attached to two big sticks.
Why only two cameras when there are four roads?
Raspberry Pi supports only two cameras. In my case, the indexes were 0 and 2.
But to make things work as I have planned, I cropped images for each lane.
What does it mean?
Let us take one camera and the respective two roads as an example.
I took real-time video, performed image framing on it. Since the roads beneath the cars were supposed to be still (obvio, cars move, not roads :>), I performed image framing after every 2 seconds of the video. The images were first cropped and then saved in the Pi. I resized the images, found the coordinates on which the two roads were separating, cropped the image till those coordinates and got 2 images of 2 separate roads from 1 camera.
Finally, I ran my code and I found it could only detect a few cars. I thought real and toy ones looked quite similar, but the model didn't think the same. My YOLO weight file was trained on original cars and now I had to do training, again.
I looked for datasets already available but couldn't find any. So I decided to make one.
I collected images from different web sources and performed the most important task on each of them. ANNOTATION, using LabelImg.
I separately annotated around 1000 images, in YOLO format, did all the processing and created this dataset. Usually, for YOLO especially, you get pictures on the internet but not text files. You have to individually perform annotation on all of them. It takes time and there isn't any tool to do it in bulk because you have to properly tell how many cars are there in the picture. Maybe in the future, LableImg gets updated with some machine learning algorithm for detecting and annotating images automatically (who knows).
So here it is for your help.
I will be adding the notebook as well in some time.
Any questions? drop down below. Do like if it’s helpful.
You can find me on:
https://www.github.com/tubasid
https://www.linkedin.com/in/tubasid
https://www.twitter.com/in/tubaasid
https://www.discord.com/channels/@tubasid
Until next post.
TubaSid
- Downloads last month
- 64