Net54baseball.com Forums

Net54baseball.com Forums (http://www.net54baseball.com/index.php)
-   WaterCooler Talk- Off Topics (http://www.net54baseball.com/forumdisplay.php?f=29)
-   -   Machine Vision/Computer Vision Card App (http://www.net54baseball.com/showthread.php?t=277221)

kevinlenane 12-21-2019 07:47 PM

Machine Vision/Computer Vision Card App
 
Hi everyone - given the ongoing problems w the TPGs - I'm considering starting a side project building out a machine vision application for identifying cards that are altered or fake(starting w 33 Goudeys) A secondary goal would be to assign some basic numerical scores to things like corners and surface and centering.

I have some experience in this area having sold my machine vision (commonly known as computer vision) tech company to IAS in 2015 - so testing this out for a single set would be very straightforward. I'd like to make it freely accessible to see what(if any) utility it creates. If it works w Goudey cards then it could in theory be expanded but i am nearly certain (after the scrapbook adventure and knowing the markers for real Goudey's) that I could easily id fakes and alterations using a high res image and a decent learning library of real cards and fakes.

If I actually get a loose demo running I'll need some training images of different kinds of fakes but for now I'm just open to feedback. I think an automated grading system like this could generate some numbers that would just become one thing in many that you consider when buying a card - no slab necessary.

jason.1969 12-21-2019 07:48 PM

Love it!

Sent from my SM-G950U using Tapatalk

Aquarian Sports Cards 12-21-2019 08:03 PM

Problem is, especially with T and N cards, there is so much legit variance that I don't know what parameters you could use to detect illegitimate variance. There are trimmed cards that measure correctly and legit cards that measure small etc.

kevinlenane 12-21-2019 08:07 PM

Well that's partly why I'm starting w Goudey as there are somewhat easier
markers - but also - you can see if a card has recently been cut under magnification so t cards could work though it would be harder. I also am aware that this is not an original idea - I just happen to have a CV-MV test harness laying around so its a fairly manageable project.

Aquarian Sports Cards 12-21-2019 08:25 PM

Trust me I'm behind you 100%!

Buythatcard 12-21-2019 08:40 PM

I think that this would be an excellent project.

Do you think it would be able to detect whether a card is fake or altered while it is still sitting in the slab? We can then determine which grading companies have been doing a good job.

Bigdaddy 12-21-2019 09:37 PM

Excellent! News I've been hoping to hear.

Do you think this would be just a 2D scan of the front and back? I would think if you could also look at the edges and surface of the card (in a three dimensional way), that would provide additional information.

There may not be one single marker that points to either 'altered' or 'fake', but taking in several bits of information can point you in that direction.

For example if a card has been flattened and then trimmed, I could imagine that you could look at the edges under high magnification and see the results of that recent cut and also look at the surface and see that it has been flattened.

Good luck and may the force be with you - I watched The Last Jedi again tonight and have tix for Rise of Skywalker tomorrow.

Careful though - PSA might buy you out and then bury the technology.

GasHouseGang 12-21-2019 11:12 PM

I've been hoping someone would step up and create something like this. I figured we just needed someone with the right equipment and expertise to come forward and make it happen. I'm certainly behind you 100 percent.

drcy 12-22-2019 12:18 AM

Focus on authentication, skip grading.

Mark17 12-22-2019 01:31 AM

Quote:

Originally Posted by drcy (Post 1941069)
Focus on authentication, skip grading.

Totally agree. It's the grading aspect that's at the root of the entire problem. Determining authentic/counterfeit and original/altered is all you should focus on. Once the grading aspect is included, the nefarious games will begin again (people looking for a way to obtain higher grades by fooling your machine.)

kevinlenane 12-22-2019 07:25 AM

Honestly authentication is likely much much easier anyway - it's always easier to start w a narrower problem and i am certain I can nail Goudeys and a ton of other pre-war given their characteristics. Generally I think it could be done w some kind of standardized image capture - potentially from a phone for mass usage but I'll probably start w a high res scan format as an input. Cut lines show up pretty well in 2d but a profile image could work too. In general you want an image input thats easy for everyone to produce..

I'll See what I can get going in the Jan/Feb and I'll post it here when it's ready though I will for sure need training images at some point...

T206Collector 12-22-2019 08:00 AM

Quote:

Originally Posted by drcy (Post 1941069)
Focus on authentication, skip grading.

+1

#this

hcv123 12-22-2019 10:46 AM

This sounds AWESOME!
 
I don't have much, but I have about 20-30 1933 Goudey cards - at least one or two of which I question if they have been trimmed. What type of images do you need?

Bigdaddy 12-22-2019 11:18 AM

Quote:

Originally Posted by Mark17 (Post 1941071)
Totally agree. It's the grading aspect that's at the root of the entire problem. Determining authentic/counterfeit and original/altered is all you should focus on. Once the grading aspect is included, the nefarious games will begin again (people looking for a way to obtain higher grades by fooling your machine.)

Agree, focus only on verifying authenticity of the card and whether or not it has been altered. Alteration can be a bit more nuanced though as it could include things like trimming, soaking, erasures, wax/stain removal, recoloring, addition/subrtaction of material, etc.

I would leave the grading, a totally subjective measure, to the eye of the beholder. Sort of like beauty.

kevinlenane 12-22-2019 12:56 PM

Thanks
 
I'll post image specs when I get to the training phase. I think the interesting thing will be to get some images of good fakes beyond the Gelasso and Inkjet stuff. I have a couple of auth markers which should be pretty hard to fake. I also wonder if the methodology should be posted or not but in the initial run I'm going to add code comments that describe exactly what is going on for testing purposes. Stay tuned....

Bigdaddy 12-22-2019 01:23 PM

Have you thought about copyright or patents?

There is a lot of open source software out there these days, but it might be best to make only the code available in executable form rather than source code.

In general, you don't want the bad guys to know where all your defenses are.

BabyRuth 12-22-2019 02:46 PM

Baseball Card Collecting - Rise of the Machines

steve B 12-22-2019 09:19 PM

This is pretty interesting.

I was talking about this (again, she must be getting sick of it:D) with my wife who is in the computer industry, and I was explaining how the sheer number of sets with varying degrees of challenge in picking out real vs fake automatically made it a difficult problem.

Her take was that it would be easier than I think, if it was done with a decent image library, some machine learning, and at first a person who knew the set essentially teaching the machine how to tell.

This seems to be essentially the same thing, perhaps without the human teacher, but working on one set that isn't too big, and that's also pretty consistent, with few if any small differences between examples of the same card. Unlike say T206, where each front comes in at probably at least 6 distinctly different versions.

I've been down on previous ideas for this, but I think this one could work.

MrPosadas 12-23-2019 07:26 AM

I also think this idea is a great one. We use machine learning at work in a lot of different ways, and once the program is taught or learns its task then the results are pretty amazing. We normally include confidence levels with its output to give us an idea of whether we need to put eyes on the data so that would be neat to see in this application as well.

Fuddjcal 12-23-2019 08:52 AM

we have to start somewhere.

If We can replace baseball umpires by 2022 with automatic Strike calling machines, we can certainly replace the No morals, no integrity piece of sh** company like PSA.

Maybe you're the guy to do it! I wish you all the luck!!!:)

theotobel 12-23-2019 09:58 AM

This is a great idea! I wish you luck on your journey.

T205 GB 12-26-2019 01:24 PM

Best wishes on your journey. Let me know if you need any input.

Leon 12-28-2019 05:41 PM

Quote:

Originally Posted by theotobel (Post 1941372)
This is a great idea! I wish you luck on your journey.

+2....good luck

jnorlund 02-15-2020 06:43 PM

Had a similar idea. PM'd you.

kevinlenane 03-19-2020 05:12 AM

Okay - I've staffed this up now as there are more developers available currently w the economy and virus where they area. So now what I really need is an abundance of training data. In this case I'd like as many high res scans of 32 Goudey cards as possible. It's best if they are raw but I'll take whatever for now - if others have fake Goudeys (and reprints like Gelasso) I'd appreciate that as well. I can download to a folder so long as your site allows high res downloads. Ill also scour the BST section but if someone has a scanned raw set - that would
be super helpful.


As a refresher - I'm building a CV app as a side project that will try to detect fake/reprint Goudey cards as a POC. I have 5 or 6 markers for real cards and I can score most of these using machine vision - the output would basically be a confidence level that the card is real. This could eventually turn into card grading but for now I'm biting off a more manage problem...

hcv123 03-19-2020 06:43 AM

what is the best
 
way to get you high res scans?

kevinlenane 03-19-2020 08:10 AM

Here's a drive link/


https://drive.google.com/drive/folde...GxCM13GRpy13B_


Any high res scans of 1933 Goudey cards are most welcome.


Once we get initial marker scores - I'll share results. As a preview - one marker is the "G.G.g stamp being a solid non press mark even at high magnification. So for a real card you might get a stamp value of .95. We have 4 or 5 other markers which need to average say .75 to say w confidence the card is real. I'd like to get it working w a decent iPhone camera in an actual app - but high res scans will make it much easier to get consistent results for a POC.

Thanks!

perezfan 03-19-2020 12:12 PM

Congrats on getting this thing going. It is an incredibly noble and admirable pursuit, and I wish you all the luck in the world. Hopefully this is a new starting point in what will be a new era of ethical authentication. Collectors need an entity that they can trust without any fear of favoritism, incompetence, censorship and other such self-serving interests.

Best of luck... once the system is up and running, you can count on me to be a customer!

steve B 03-19-2020 12:35 PM

Do you have a resolution you prefer? Or is some randomness better?

kevinlenane 03-19-2020 01:25 PM

No preference - need them to be pretty clear (fronts and backs) but also not so big in size that they are unwieldy in quantity. Whatever you have for now is fine - its more challenging to find quality scans and even harder to find them in raw form (not scanned through a graded case). In general raw and about 3-4mb is preferable but ill take what i can get for now. Thanks! Im going to do this one narrow use case and then see how much interest there is and potentially expand to other sets and loose grade attributes if there is enough momentum to rationalize an actual business beyond a simple POC...

kevinlenane 03-19-2020 01:39 PM

Turns out there are a few threads w a tremendous amount of data - so im pulling a lot of that down. THere is also a decent amount of imagery on fake Goudeys particularly on Ruth so Im making some decent headway on data right now.

edhans 03-19-2020 03:31 PM

re:Machine Vision/Computer Vision Card App
 
Feel free to use the images on my website here: http://t206.monkberry.com/1933%20goudey.html

kevinlenane 07-09-2020 05:02 PM

I think my other post was too ad-like sorry Leon. Short update I have the app (iPhone) running grading, authentication and provenance (tampering) pretty flawlessly for 2 vintage and 2 modern sets w sub-grades. I'm excited to share the POC w you all when it launches - my plan is to give the app a free beta here fwiw. If this is a violation please feel free to remove! Thx


All times are GMT -6. The time now is 07:33 PM.