Help with my AI Assignment please

SatNavSaysStraightOn

Moderator
Staff member
Joined
11 Oct 2012
Local time
3:49 PM
Messages
22,514
Location
SE Australia
Website
www.satnavsaysstraighton.com
I need help with one of my assignments please.

I have to train an AI image classifier to recognise and categorise an image according to the following categories.
  1. clear plastic bottle,
  2. opaque plastic bottle,
  3. aluminium beverage can,
  4. steel food can,
  5. glass bottle,
  6. glass jar,
  7. cardboard box,
  8. paper cup.
To do this, I need about 100 photographs with different backgrounds and from different angles of these items for each of these 8 categories (so 800 images in total!). The photographs can only contain items from 1 specific category, but can contain more than 1 item of the same category (so a picture of a supermarket shelf with only tins on it would be fine, but tins and glass jars would not be OK).

The photos can include crushed or partially crushed, opened, unopened, with label, without labels, tins with food and opened, items on their sides, photos of them from underneath etc. It's time to be creative.

With food tins, I'm looking for different shapes and sizes, square, rectangular, pie on a plate, anything that could trip it up.

Paper cups will also be particularly difficult,
And distinguishing aluminium drinks cans from steel food cans may also cause problems, so the more photos the better.

Your images must include meaningful variation. Your dataset should not consist only of highly similar images or repeated standard product photos. Your images should include variation such as: different viewing angles, different lighting conditions, different backgrounds, different object sizes within the image, different object placements or orientations, partial occlusion or non-standard views, and so on.

And I need them emailed to me please, not posted here because I need to be able to change quality of images. Though if email is out of the question but you'd still like to participate, we can use the media gallery to transfer them but the MG will limit the size of each image to 400Kb, hence why email would be preferred if possible.

Getting images from around the world will also help ensure that my training dataset is not Australian biased.

If you are interested in helping me, please PM me for my university email address. I will need those helping out to sign a form allowing me to use their images to train the AI (Google Teachable Machine) for the assignment. The images will not be used beyond that, and I will need to included the release form in the appendix of my assignment.

If I use photos from family and friends, I'll avoid copyright issues, plus everyone photographs things differently so I'll get a good variety of images, from a variety of different devices and qualities. If you don't want me knowing your name, I'm happy for the "signature" on the release form to be tied to your CB username.

Even a broken glass bottle or discarded paper cup at the side of the road is fine!

All images will be stripped of metadata before use and if there is anything that may identify you (pill container, wedding ring), that will be removed from the image before use.

Any one interested please?

The time frame is maximum 14 days to create the dataset of 800 images. You can send just 1 or 2 or +50 images, i honestly don't mind.
 
Are pictures taken with a (cheapish) cell phone good enough?
Yes, absolutely.

It is just uploading them here, resizes them, whereas with email, that can be overridden and they will be larger in size which is preferable. Here we end up with 200Kb in a post, 400Kb in the media gallery, but by email, I'll receive the size you took the image at, if you allow email to send the original size, not resize then before sending.
 
Do the items need to be empty, SatNavSaysStraightOn, or can they contain something?
If I take a pic of some tins/jars/bottles in the cupboard, for example, will they do?
any which way. so full unopened, partially used, empty not washed, empty washed...
The only restriction I have found out about today, whilst trying to add images to the training app, is that they need to be in a 1:1 format which you can usually kick your phone into quite easily - if it says 4:3, just tap on the 4:3 and you should be given some extra options - whatever your lowest quality is is fine as well, doesn't need to be 50Megapixels or anything of fine art print quality.

Ideally, for training, the item should be by itself, or with like for like - so all glass jars. I can't have jars and bottles mixed together.

I just pulled a few things out of the fridge and put them on the counter to take some pictures.
 
You know when you sit there thinking bugger....

I was thinking totally culinary and household for these items.

I've just realised perfume (of which I do not own any at all) and nail polish (also don't own), comes in glass bottles as well.

:scratchhead:

Out of my categories
  1. clear plastic bottle,
  2. opaque plastic bottle,
  3. aluminium beverage can,
  4. steel food can,
  5. glass bottle,
  6. glass jar,
  7. cardboard box,
  8. paper cup.
Can you come up with things I may have missed like perfume and nailpolish which are both in glass bottles.

I don't have a home for this type of food tin. It doesn't seem to fall under steel food can because of the lid, but :scratchhead:

20260407_173638.jpg

I've taken paper cups with and without handles into account, and glass bottles that are broken (but not yet broken glass jars). I've got squashed or dented aluminium drinks cans, and some old food tins, but not any that are dented or crushed. I'm also missing odd shaped ones like those pies that you bake etc.

Anyone else got any ideas on what I might have failed to take into account? Suggestions welcome.
 
I don't have a home for this type of food tin. It doesn't seem to fall under steel food can because of the lid, but :scratchhead:

Its similar to a paint can (another type for you). I also have some mini tins with lids like this like which hold spices.

Can you come up with things I may have missed like perfume and nailpolish which are both in glass bottles.

Shampoo, liquid soap (both usually plastic but could be glass). Eco friendly cleaning products (sold in glass bottles to be refillable).
 
What about tin cans that abound for food storage? You know like sauces, veggies, fruits, etc.
I can't change the categories. They are predefined. All I can control is how I define them. So the above already fall under steel food can, which is something I actually have very little of.

It is now a case of working out what I've missed from those categories.

So perfume also falls under glass bottle.

Opaque plastic bottles I already have. I've been around my house photographing things like washing up liquid, liquid washing detergent and so on. My hair care comes in a plastic jar by definition, so that's out.
 
I can't change the categories. They are predefined. All I can control is how I define them. So the above already fall under steel food can, which is something I actually have very little of.

It is now a case of working out what I've missed from those categories.

So perfume also falls under glass bottle.

Opaque plastic bottles I already have. I've been around my house photographing things like washing up liquid, liquid washing detergent and so on. My hair care comes in a plastic jar by definition, so that's out.
So if you can provide us a running list of what's completed it would be effective.

So far we're like this?
1000072922.jpg
 
These are my notes.

20260409_121317.jpg


I'm aiming/hoping for +120 images per category by the end of model 3. (We have to revise, test, revise etc).

The figures were what I had by the end of yesterday. I've been around a bottle shop taking a few images (maybe 30) since.

I need an additional 10 per category for testing purposes that can not feature the same item used in the training images.

I'll be at a supermarket later today, as well.
 
These are my notes.

View attachment 143550

I'm aiming/hoping for +120 images per category by the end of model 3. (We have to revise, test, revise etc).

The figures were what I had by the end of yesterday. I've been around a bottle shop taking a few images (maybe 30) since.

I need an additional 10 per category for testing purposes that can not feature the same item used in the training images.

I'll be at a supermarket later today, as well.
This is good! Keep us updated and we won't be sending you pics you've enough of. Plus, for the peeps with BW issues it won't take all day! 🤠
 
Back
Top Bottom