Jump to content

Scan image to approve it


cordoprod

Recommended Posts

Hello. Think this is the wrong board, sorry.

 

But anyway i was wondering.. If there was any scripts or tutorials where php scans an image and checks if there is a face there, only one face, and not any disturbing elements for example.

 

It would be great to have on my community system or else i'll have to approve profile images manually.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/114234-scan-image-to-approve-it/
Share on other sites

I'd say if approving images is a very important feature that you need; set up a approval system where a moderator or admin can choose to allow or deny the image.

 

This can be done easily. Just add another column called status which holds a status number of the image.

 

The column can be a tinyint(1) because it will hold only the numbers 1 - 3.

 

1 = not looked at yet.

2 = approved.

3 = denied.

 

You can then display only the images with status code 2 and delete all images with a status code of 3.

 

Hope that helps.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.