magichampz commited on
Commit
766fce4
·
1 Parent(s): 3858d9a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -40
README.md CHANGED
@@ -8,63 +8,38 @@ Classification of lego technic pieces under basic room lighting conditions
8
  ## Model Details
9
 
10
  ### Model Description
11
- CNN designed without using a pre-trained model to classify images of lego pieces into 7 categories. Achieved a 93% validation accuracy
 
12
 
13
  - **Developed by:** Aveek Goswami, Amos Koh
14
  - **Funded by [optional]:** Nullspace Robotics Singapore
15
  - **Model type:** Convolutional Neural Network
16
 
17
- ### Model Sources [optional]
18
-
19
- <!-- Provide the basic links for the model. -->
20
 
21
  - **Repository:** https://github.com/magichampz/lego-sorting-machine-ag-ak
22
- - **Demo [optional]:**
23
  ![image/gif](https://cdn-uploads.huggingface.co/production/uploads/652dc3dab86e108d0fea458c/E7UZXLWPvU_39cxrF49jD.gif)
24
 
25
  ## Uses
 
 
26
 
27
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
28
-
29
- ### Direct Use
30
-
31
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
32
-
33
- [More Information Needed]
34
-
35
- ### Downstream Use [optional]
36
-
37
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
38
-
39
- [More Information Needed]
40
-
41
- ### Out-of-Scope Use
42
-
43
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
44
-
45
- [More Information Needed]
46
-
47
- ## Bias, Risks, and Limitations
48
-
49
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
50
 
51
  [More Information Needed]
52
 
53
  ### Recommendations
54
 
55
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
56
-
57
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
58
-
59
- ## How to Get Started with the Model
60
 
61
- Use the code below to get started with the model.
62
 
63
- [More Information Needed]
64
 
65
  ## Training Details
66
 
67
  ### Training Data
 
68
 
69
  <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
70
 
@@ -147,17 +122,17 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
147
 
148
  ### Compute Infrastructure
149
 
150
- [More Information Needed]
151
 
152
  #### Hardware
153
 
154
- [More Information Needed]
155
-
156
- #### Software
157
 
158
- [More Information Needed]
159
 
160
- ## Citation [optional]
 
 
161
 
162
  <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
163
 
 
8
  ## Model Details
9
 
10
  ### Model Description
11
+ CNN designed from the ground up, without using a pre-trained model to classify images of lego pieces into 7 categories. <br>
12
+ Achieved a 93% validation accuracy
13
 
14
  - **Developed by:** Aveek Goswami, Amos Koh
15
  - **Funded by [optional]:** Nullspace Robotics Singapore
16
  - **Model type:** Convolutional Neural Network
17
 
18
+ ### Model Sources
 
 
19
 
20
  - **Repository:** https://github.com/magichampz/lego-sorting-machine-ag-ak
 
21
  ![image/gif](https://cdn-uploads.huggingface.co/production/uploads/652dc3dab86e108d0fea458c/E7UZXLWPvU_39cxrF49jD.gif)
22
 
23
  ## Uses
24
+ The tflite model (model.tflite) was loaded into a Raspberry Pi running a live object detection script. <br>
25
+ The Pi could then detect lego technic pieces in real time as the pieces rolled on a conveyor belt towards the Pi Camera
26
 
27
+ ## Bias, Limitations and Recommendations
28
+ The images of the lego pieces used to train the model were taken in
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
30
 
31
  [More Information Needed]
32
 
33
  ### Recommendations
34
 
 
 
 
 
 
35
 
36
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
37
 
 
38
 
39
  ## Training Details
40
 
41
  ### Training Data
42
+ - **Data:** https://huggingface.co/datasets/magichampz/lego-technic-pieces
43
 
44
  <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
45
 
 
122
 
123
  ### Compute Infrastructure
124
 
125
+ Trained on Google Collabs using the GPU available
126
 
127
  #### Hardware
128
 
129
+ Model loaded into a raspberry pi 3 connected to a PiCamera v2 <br>
130
+ RPi mounted on a holder and conveyor belt set-up built with lego
 
131
 
 
132
 
133
+ ## Citation
134
+ Model implemented on the raspberry pi using the ideas from PyImageSearch's blog: <br>
135
+ https://pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/
136
 
137
  <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
138