Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
This might sound super salty and unnecessary hateful, but how much actual code work is done by you?
-
@daintycode it's a fair question. In regards to the object detection. Most work was the dataset.
1. annotating images.
2. Artificially inflating the set by scripts which transform, crop, decrease image quality, cutt&paste annotated objects to different pictures while maintaining and/or generating the correct annotations. This took quite a while.
Not in this is the android integration. Running object detection on frames pulled from a recorded (ffmpeg on android) video and writing these into a file.
Next step is to train a classifier on the generated output directly on the device and since TF only has inference on android (there are repos which include part of the training function directly in C++, but I'm no good in that language and I have a time constraint) I've had to include deeplearning4j on android. Unfortunately their arm64-v8a snapshots don't compile. Essentially, a good deal of time went into smoothing out library comparability issues. -
@ewpratten https://goo.gl/6Frcdd
Latest changes are not live. It's a pretty large repo since both TF and TF-Models are submodules of it. I probably don't need everything in there but I'm too scared to delete random parts only to find out I require them later.
There's also the datasets (thank god for git lfs) If you're interested I can hit you up once it's done! -
@polaroidkidd cool. What lang?
I want to make a super lightweight efficient shape detector in c++ but I only know python. -
Abyss377y@daintycode
Do you like crashing people happiness. Maybe it's his first time doing this kind of project. Or maybe his first time coding.
So stop doing that 😑 -
@Abyss it's cool. besides, it's not like 'lines-of-code' is any kind of indicator of how good or bad an engineer I am (although, admittedly, it took longer than it should have because of a fucking retarded error I made ^^)
-
@Abyss dudes like you are the reason i wrote that it might sound wrong.
I really like this, saw his first tries with it and upvoted it, there is no feel-crushing involved whatsoever.
I just wanted to know how much code stuff like that needs, because i myself never got into ML but love the results and I really like to reinvent the wheel.
My question was more meant like you asking someone how much banana they put in a milkshake. Pure interest.
And I liked how detailed he responded.
We cool? -
@daintycode goats dude. Getting this part to work honestly isn't that much work. I took 5-10 videos of the shapes I various places and backgrounds (each vid was maybe 10-20 seconds long) and pulled 20 frames from each. In the end I have about 200 images on which to train it. In the thesis I'll have an "installation"part in the appendix. If you want I can share it with you once it's done.
-
@HTMLspecialist if you want it to detect custom objects, here's a tutorial -> https://goo.gl/JR7Drv
Have fun! -
oscylo9537y@polaroidkidd Now use the model in tensorflow.js and anybody will be able to check it out on your website.
Related Rants
It works!!!!! WOOOOO YEAHH!!!
random
ml
celebration