Jo-Dan / The-Machine

Person of Interest Machine
94 stars 18 forks source link

Little query #10

Open stuartmoseley opened 2 years ago

stuartmoseley commented 2 years ago

Hi, a few years back I had this running fine (after a little editing) on windows 7 I’ve had issues getting it run on later versions not a issue though but question is I’ve just noticed in the readme that machine.exe is no longer listed is this no longer needed?

also I know this is a long shot but do you still have a copy of the source for the .exe file?

anyways it’s been fun playing with this little program :)

Jo-Dan commented 2 years ago

Hi, This is a very old project of mine and I think unfortunately I no longer have the original files. The exe was just a packaged version of the python program though (using pyinstaller or something similar). I removed the exe link from the readme because the recent drive changes meant I had to individually approve sharing it. But if you install all the dependencies and stuff in python you should just be able to run the main python file and it should work the same. I don't even know if it still runs properly because I wrote the thing in python 2.7 in high school over half a decade ago and some of the dependencies might have changed (like the voice generation). Sorry I can't be more help. Good luck with it though! Let me know how it goes.


From: StewieMo @.> Sent: Saturday, December 11, 2021 1:54:21 AM To: Jo-Dan/The-Machine @.> Cc: Subscribed @.***> Subject: [Jo-Dan/The-Machine] Little query (Issue #10)

Hi, a few years back I had this running fine (after a little editing) on windows 7 I’ve had issues getting it run on later versions not a issue though but question is I’ve just noticed in the readme that machine.exe is no longer listed is this no longer needed?

also I know this is a long shot but do you still have a copy of the source for the .exe file?

anyways it’s been fun playing with this little program :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Jo-Dan/The-Machine/issues/10, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEH7EPFCU4DQEDFQQCPB2QDUQIIB3ANCNFSM5JZKJRJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

stuartmoseley commented 2 years ago

Hey thank you for the reply :) Quick update I’ve managed to upgrade the program to use python 3.10 and now works on windows 10 Only a couple of hiccups remain but I’m sure I’ll figure those out in time.

later I’m going to try incorporate a python assistant into the project see if the machine likes that lol

Jo-Dan commented 2 years ago

Oh that sounds great! I wonder if there are any new services that can replace what I was using for the voices. The service I was using had four or five different voices and each time it was saying a word for the first time the program would pick a random voice from the list and download the text to speech for the word.

Maybe when you're done upload it as a fork of this project. I might be keen to have a look at what you put together.


From: StewieMo @.> Sent: Friday, December 17, 2021 1:28:36 AM To: Jo-Dan/The-Machine @.> Cc: Jo-Dan @.>; Comment @.> Subject: Re: [Jo-Dan/The-Machine] Little query (Issue #10)

Hey thank you for the reply :) Quick update I’ve managed to upgrade the program to use python 3.10 and now works on windows 10 Only a couple of hiccups remain but I’m sure I’ll figure those out in time.

later I’m going to try incorporate a python assistant into the project see if the machine likes that lol

— Reply to this email directly, view it on GitHubhttps://github.com/Jo-Dan/The-Machine/issues/10#issuecomment-995868533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEH7EPF3NTDOBLO74WS7LXLURHZRJANCNFSM5JZKJRJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

stuartmoseley commented 2 years ago

i still have some updates and fixes to apply, but currently i am halted on progression

i have no idea if anything i have edited or added is functional as im locked out with this issue "Unknown subject detected. Access Denied" i have even tried to trick the system by pointing the camera at the jpg file and still get the same message lol

loading the db and training both work and the feed shows with recognition.

but yeah as soon as ive finally sorted this and finished off the little bugs ill fork it for you :)

Jo-Dan commented 2 years ago

Ah I see. Does it draw a box around any faces in the image but mark them as unknown? Or is it not detecting faces at all? Because the face detection/recognition runs in a separate thread to the console command window sometimes there can be a slight delay before the console thread knows the face is detected. Try sending the command a few times after the face is marked as recognised. If that doesn't work and it is actually recognising the face in the feed I would say it's some kind of issue with the communication between the two threads, iirc it pushes the recognised face state to a queue, that the other thread grabs from.

stuartmoseley commented 2 years ago

It draws the box instantly always white no labels ever though, I have had the box appear yellow twice, also spamming the console constantly throws the unknown issue lol but I do think there is a miscommunication between the systems

Jo-Dan commented 2 years ago

The white box should be that the face is unknown so it might be a training issue maybe? How many training pictures are you using? Yeah if the face is showing as unknown spamming wont do anything, only if it actually recognises the face as an admin.


From: StewieMo @.> Sent: Monday, December 20, 2021 10:20:57 PM To: Jo-Dan/The-Machine @.> Cc: Jo-Dan @.>; Comment @.> Subject: Re: [Jo-Dan/The-Machine] Little query (Issue #10)

It draws the box instantly always white no labels ever though, I have had the box appear yellow twice, also spamming the console constantly throws the unknown issue lol but I do think there is a miscommunication between the systems

— Reply to this email directly, view it on GitHubhttps://github.com/Jo-Dan/The-Machine/issues/10#issuecomment-997834867, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEH7EPENPS3LBVWXYQBZPI3UR4GRTANCNFSM5JZKJRJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

stuartmoseley commented 2 years ago

i get no labels no matter what i do,

i do think its a facial recognition issue as although i continue to get the message "Unknown subject detected. Access Denied" (white box). i do sometimes get the yellow box (admin i believe) flicker dependent on position of face to camera. i have managed to get the system to use the command "set" once but that was luck due to catching a flicker.

i also believe i have introduced this bug. i will fork as soon as i have this resolved :)

Jo-Dan commented 2 years ago

How many images of your face do you have in your training set? You want quite a few from different abgles and different lighting. Ideally you'd take a bunch with the same camera setup you're using for the program.


From: StewieMo @.> Sent: Wednesday, December 29, 2021 10:30:54 AM To: Jo-Dan/The-Machine @.> Cc: Jo-Dan @.>; Comment @.> Subject: Re: [Jo-Dan/The-Machine] Little query (Issue #10)

i get no labels no matter what i do,

i do think its a facial recognition issue as although i continue to get the message "Unknown subject detected. Access Denied" (white box). i do sometimes get the yellow box (admin i believe) flicker dependent on position of face to camera. i have managed to get the system to use the command "set" once but that was luck due to catching a flicker.

i also believe i have introduced this bug. i will fork as soon as i have this resolved :)

— Reply to this email directly, view it on GitHubhttps://github.com/Jo-Dan/The-Machine/issues/10#issuecomment-1002321628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEH7EPERNSV5CF7RWX5VVT3UTJCC5ANCNFSM5JZKJRJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

Frankystew1 commented 1 year ago

@stuartmoseley DID YOU EVER FIGURE IT OUT