Skip to content

Commit 304dfce

Browse files
committed
remove code from 402 Q6
1 parent 51ea727 commit 304dfce

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

projects-appendix/modules/spring2025/pages/40200/project5.adoc

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -292,20 +292,11 @@ We should ensure that all images have the same number of features. We can do thi
292292
If you are having problems where nfeatures is not doing its job correctly (i.e. not outputting the same number of features for each image), you should splice the descriptor arrays to the correct size eg. `des = des[:20]`.
293293
====
294294

295-
[source,python]
296-
----
297-
import cv2
298-
299-
sift = cv2.SIFT_create(nfeatures=20)
300-
301-
image_features = {}
302-
for k,v in labeled_images_grayscale.items():
303-
image_features[k] = []
304-
for im in v:
305-
kp, des = sift.detectAndCompute(im, None)
306-
image_features[k].append(des)
307-
----
295+
After you've completed the above, please answer the following questions:
308296

297+
- How does this model compare to the previous 3 models in terms of accuracy?
298+
- How does it compare in terms of time?
299+
- Which model do you think is the best overall?
309300

310301
.Deliverables
311302
====

0 commit comments

Comments
 (0)