Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7f479f5

Browse files
Requested changes have been made.
1 parent 1bd944e commit 7f479f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎Fast Algorithm (Corner Detection)/Fast_Algorithm.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,13 @@
3232
print( "Total Keypoints without nonmaxSuppression: {}".format(len(kp)) )
3333
final = cv.drawKeypoints(img, kp, None, color=(255,0,0))
3434

35+
#Naming the output image
36+
image_name = path.split(r'/')
37+
image = image_name[-1].split('.')
38+
output = r".\\"+ image[0] + "(_detected).jpg"
39+
3540
#Saving the image
36-
cv.imwrite('./folder-name/image_name (detected).jpg',final)
41+
cv.imwrite(output,final)
3742

3843
#Printing the final output image
3944
cv.imshow('Final',final)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /