If we want to do image classification for multiple invoice types is it the way we should proceed ?
@christianrazvan2 жыл бұрын
But if you don't have any images on the document those features comparer fail miserable, for 2 similar reports for instance
@PRAKASH777813 жыл бұрын
Thanks for the video. However, found this error with matches.sort(key=lambda x: x distance, reverse= False) command. It is returning"tuple has no sort algorithm". Kindly share your throughts
@ronaldkclai3 жыл бұрын
Hello, same error here. Used sorted() and same. Any hint please?
@alvaroretana12432 жыл бұрын
Same Error! -> AttributeError: 'tuple' object has no attribute 'sort'
@FancyVolcano2 жыл бұрын
Looks like the match() function returns a tuple. Converting it to a list would do the trick. matches = list(matcher.match(descriptors1, descriptors2, None))
@chriss63342 жыл бұрын
The way Liben has described it should work. But to add another solution to the pile I'll chuck in what I did. I replaced the "matches.sort(...) line" with this: matches = sorted(matches,key=lambda x:x.distance, reverse=False)
@NutsandGuts2 жыл бұрын
matches.sort doesn't work with tuples in python
@ilovebyungsoo Жыл бұрын
Try this instead matches = sorted(matches, key=lambda x: x.distance)
@BCTAHbKA2 жыл бұрын
Das ist das geilste Video ever
@tapudatta5615 Жыл бұрын
This doesn't seems to be a efficient way .How to finetune the parameters for different images
@LearnOpenCV Жыл бұрын
The approach shown in this video is done using classical CV - i.e using opencv. There are different methods available using deep learning models too for image alignment.
@santhoshreddy47893 жыл бұрын
can you please give source code
@MATLAB1Expert12 жыл бұрын
hey the source code is availabale in udemy course
@sanjay46752 жыл бұрын
@@MATLAB1Expert1 Is it the same content or something extra is there in course ???
@rutujanaik23213 жыл бұрын
hello can you send 13 and 14 th line code again
@timmarkhuff3 жыл бұрын
I am still working on this, so I am not sure, but I believe they are just: im1_display = cv2.drawKeypoints(im1, keypoints1, outImage=np.array([]), color=(255, 0, 0), flags=cv2.DRAW_MATCHES_FLAGS_DEFAULT) im2_display = cv2.drawKeypoints(im2, keypoints2, outImage=np.array([]), color=(255, 0, 0), flags=cv2.DRAW_MATCHES_FLAGS_DEFAULT)
@FancyVolcano2 жыл бұрын
@@timmarkhuff looks like it is "flags=cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS" im1_display = cv2.drawKeypoints(im1, keypoints1, outImage=np.array([]), color =(255, 0, 0), flags=cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS) im2_display = cv2.drawKeypoints(im2, keypoints1, outImage=np.array([]), color =(255, 0, 0), flags=cv2.DRAW_MATCHES_FLAGS_DRAW_RICH_KEYPOINTS)