Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Getting started writing an AI system these days
2 points by calebjosue 37 days ago | hide | past | favorite | 4 comments
A few minutes ago I came up with the idea on writing an AI system capable to participate in an traditional Mexican game with a group of people.

In Mexico (I am from Mexico), lots of people like to play lotería[1]. So I was thinking in the process of writing an AI system that is able to participate in such a game.

It will need to hear the card that is being dealt, bein able to recognize the image in the board, mark the image, and detect whenever there is a winning position.

Most likely there are software implementations playing this game, but I think this is a cool project to get me started (once more) in AI capabilities.

What resources would you guys recommend me to get me started? Now, I am not interested in training a model because I am thinking already trained systems are capable to recognize objects even in the way the drawings are portrayed in this lottery.

Perhaps this is too much for a starter project and I should focus in a system being able to play Tic-Tac-Toe.

Thanks a lot and happy weekend!

[1] https://en.wikipedia.org/wiki/Loter%C3%ADa




You could just mainly use the OpenAI APIs. You want it to recognize and encode the board into text at the beginning by sending an image to the chat endpoint. You could use their Whisper API or Deepgram API for speech to text. You would probably need to send every speech utterance that has been transcribed to gpt-3.5. it would then output an updated encoded and marked board each time and a flag indicating a win or not. If it sets the flag then you can play an mp3 declaring the win or something.

As long as you can find the documentation for OpenAI and stick with it, you will be able to do it. You should be able to get into the docs with a Google search.


This is probably a better idea than mine, to start with at least.


Thank you very much for your answers fellows. I think I am going to start with a less ambitious computer program, the one relate with how the cards are dealt and announced to the players. Thanks again!


Learn the basics of PyTorch and use a model from the huggingface transformers package.

Collect a small dataset and see if you can get a model to correctly identify the scenarios you give it.

Iterate from there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: