u/Feitgemel

I built a real-time AI Card Detection API and put a live demo online. Would love to get your feedback on its accuracy!
▲ 1 r/playingcards+1 crossposts

I built a real-time AI Card Detection API and put a live demo online. Would love to get your feedback on its accuracy!

As a developer and a fan of the game, I’ve been working on a computer vision model specifically trained to detect and recognize playing cards in real time. It processes image data in milliseconds, mapping out card dimensions, suites, and values into clean JSON metadata.

I’ve just deployed it and wanted to share it with this community to see how it handles different types of cards, lighting conditions, and camera angles.

You can test it directly with your own images in two different ways:

🚀 Test it instantly on the web (No sign-up required): You can upload any photo containing playing cards directly to this live sandbox to see the AI bounding boxes draw over your cards in real time:https://eranfeit.net/test-in-real-time-interactive-playing-card-detection-api-demo/

🔌 Integrate the API into your own projects: If you are a developer looking to build poker calculators, stream overlays, or hand tracking software, you can test the raw endpoint parameters directly via RapidAPI:https://rapidapi.com/feitgemel/api/cards-detection-api

Drop a comment or try uploading a tricky layout to the sandbox—I'd love to know how it performs for you and what features or card decks I should optimize for next!

Thanks for checking it out!
Eran

u/Feitgemel — 21 hours ago

FaceFusion Face Swap Is WILD (Full FaceFusion Installation and Tutorial)

FaceFusion technology represents a significant shift in the accessibility of high-fidelity image and video synthesis. This tutorial provides a comprehensive guide to installing and utilizing FaceFusion for face swapping, focusing on the underlying architecture and the systematic workflow required to achieve seamless results.

The Insight :

The core technical challenge in face swapping lies in maintaining temporal consistency and lighting alignment across varying frames. FaceFusion addresses this by leveraging advanced deep learning models that decouple identity features from attribute features (such as expression and pose). This specific approach was chosen because it allows for high-resolution output without the extensive retraining typically required by older GAN-based architectures. By utilizing pre-trained models within a streamlined framework, developers can achieve professional-grade synthesis on consumer-grade hardware.

The Lesson :

The workflow begins with the environment configuration, ensuring that the necessary dependencies—including Python, FFmpeg, and CUDA for GPU acceleration—are correctly mapped. Once the environment is stable, the process moves from the selection of the source identity to the target medium. The logic behind the code centers on the "Processor" pipeline, where the software executes face detection, followed by the swapping algorithm, and finally, a restoration phase to enhance facial details. This modular sequence ensures that each step of the inference is optimized for both speed and visual fidelity.

Full tutorial  :

Detailed written explanation and source code here .

 

This content is provided for educational purposes only, intended to explore the capabilities of computer vision and AI synthesis. The community is invited to provide constructive feedback or ask technical questions regarding the installation process and model optimization.

Eran Feit

https://preview.redd.it/3uettl06tb1h1.png?width=1280&format=png&auto=webp&s=dfd477deb39592ca958812d17b363568f941bf0c

reddit.com
u/Feitgemel — 8 days ago

FaceFusion Face Swap Is WILD (Full FaceFusion Installation and Tutorial)

FaceFusion technology represents a significant shift in the accessibility of high-fidelity image and video synthesis. This tutorial provides a comprehensive guide to installing and utilizing FaceFusion for face swapping, focusing on the underlying architecture and the systematic workflow required to achieve seamless results.

The Insight :

The core technical challenge in face swapping lies in maintaining temporal consistency and lighting alignment across varying frames. FaceFusion addresses this by leveraging advanced deep learning models that decouple identity features from attribute features (such as expression and pose). This specific approach was chosen because it allows for high-resolution output without the extensive retraining typically required by older GAN-based architectures. By utilizing pre-trained models within a streamlined framework, developers can achieve professional-grade synthesis on consumer-grade hardware.

The Lesson :

The workflow begins with the environment configuration, ensuring that the necessary dependencies—including Python, FFmpeg, and CUDA for GPU acceleration—are correctly mapped. Once the environment is stable, the process moves from the selection of the source identity to the target medium. The logic behind the code centers on the "Processor" pipeline, where the software executes face detection, followed by the swapping algorithm, and finally, a restoration phase to enhance facial details. This modular sequence ensures that each step of the inference is optimized for both speed and visual fidelity.

Full tutorial  :

Detailed written explanation and source code here .

 

This content is provided for educational purposes only, intended to explore the capabilities of computer vision and AI synthesis. The community is invited to provide constructive feedback or ask technical questions regarding the installation process and model optimization.

Eran Feit

https://preview.redd.it/30ibjgcysb1h1.png?width=1280&format=png&auto=webp&s=a003797c7598e8d9adadfe7adebaceab1b1fc57e

reddit.com
u/Feitgemel — 8 days ago

FaceFusion Face Swap Is WILD (Full FaceFusion Installation and Tutorial)

FaceFusion technology represents a significant shift in the accessibility of high-fidelity image and video synthesis. This tutorial provides a comprehensive guide to installing and utilizing FaceFusion for face swapping, focusing on the underlying architecture and the systematic workflow required to achieve seamless results.

 

The Insight :

The core technical challenge in face swapping lies in maintaining temporal consistency and lighting alignment across varying frames. FaceFusion addresses this by leveraging advanced deep learning models that decouple identity features from attribute features (such as expression and pose). This specific approach was chosen because it allows for high-resolution output without the extensive retraining typically required by older GAN-based architectures. By utilizing pre-trained models within a streamlined framework, developers can achieve professional-grade synthesis on consumer-grade hardware.

The Lesson :

The workflow begins with the environment configuration, ensuring that the necessary dependencies—including Python, FFmpeg, and CUDA for GPU acceleration—are correctly mapped. Once the environment is stable, the process moves from the selection of the source identity to the target medium. The logic behind the code centers on the "Processor" pipeline, where the software executes face detection, followed by the swapping algorithm, and finally, a restoration phase to enhance facial details. This modular sequence ensures that each step of the inference is optimized for both speed and visual fidelity.

Full tutorial  :

Detailed written explanation and source code here .

 

This content is provided for educational purposes only, intended to explore the capabilities of computer vision and AI synthesis. The community is invited to provide constructive feedback or ask technical questions regarding the installation process and model optimization.

Eran Feit

https://preview.redd.it/lq5m4xi9sb1h1.png?width=1280&format=png&auto=webp&s=f8a10faae434e2d5b91a3f2e15b6e2990cef813e

reddit.com
u/Feitgemel — 8 days ago

FaceFusion Face Swap Is WILD (Full FaceFusion Installation and Tutorial)

https://preview.redd.it/z8izqleepb1h1.png?width=1280&format=png&auto=webp&s=646296928c8f1a8a1494abb8a82cde97f1bd9003

FaceFusion technology represents a significant shift in the accessibility of high-fidelity image and video synthesis. This tutorial provides a comprehensive guide to installing and utilizing FaceFusion for face swapping, focusing on the underlying architecture and the systematic workflow required to achieve seamless results.

 

The Insight :

The core technical challenge in face swapping lies in maintaining temporal consistency and lighting alignment across varying frames. FaceFusion addresses this by leveraging advanced deep learning models that decouple identity features from attribute features (such as expression and pose). This specific approach was chosen because it allows for high-resolution output without the extensive retraining typically required by older GAN-based architectures. By utilizing pre-trained models within a streamlined framework, developers can achieve professional-grade synthesis on consumer-grade hardware.

The Lesson :

The workflow begins with the environment configuration, ensuring that the necessary dependencies—including Python, FFmpeg, and CUDA for GPU acceleration—are correctly mapped. Once the environment is stable, the process moves from the selection of the source identity to the target medium. The logic behind the code centers on the "Processor" pipeline, where the software executes face detection, followed by the swapping algorithm, and finally, a restoration phase to enhance facial details. This modular sequence ensures that each step of the inference is optimized for both speed and visual fidelity.

Full tutorial  :

 Detailed written explanation and source code : https://eranfeit.net/facefusion-face-swap-is-wild-full-facefusion-installation-and-tutorial/?utm_source=Reddit_FaceFusion&utm_medium=Forum&utm_campaign=Promote+FaceFusion&utm_id=FaceFusion

 

This content is provided for educational purposes only, intended to explore the capabilities of computer vision and AI synthesis. The community is invited to provide constructive feedback or ask technical questions regarding the installation process and model optimization.

Eran Feit

reddit.com
u/Feitgemel — 8 days ago

FaceFusion Face Swap Is WILD (Full FaceFusion Installation and Tutorial)

FaceFusion technology represents a significant shift in the accessibility of high-fidelity image and video synthesis. This tutorial provides a comprehensive guide to installing and utilizing FaceFusion for face swapping, focusing on the underlying architecture and the systematic workflow required to achieve seamless results.

The Insight :

The core technical challenge in face swapping lies in maintaining temporal consistency and lighting alignment across varying frames. FaceFusion addresses this by leveraging advanced deep learning models that decouple identity features from attribute features (such as expression and pose). This specific approach was chosen because it allows for high-resolution output without the extensive retraining typically required by older GAN-based architectures. By utilizing pre-trained models within a streamlined framework, developers can achieve professional-grade synthesis on consumer-grade hardware.

 The Lesson :

The workflow begins with the environment configuration, ensuring that the necessary dependencies—including Python, FFmpeg, and CUDA for GPU acceleration—are correctly mapped. Once the environment is stable, the process moves from the selection of the source identity to the target medium. The logic behind the code centers on the "Processor" pipeline, where the software executes face detection, followed by the swapping algorithm, and finally, a restoration phase to enhance facial details. This modular sequence ensures that each step of the inference is optimized for both speed and visual fidelity.

 

Full tutorial  :

 Detailed explanation : https://youtu.be/oGGDHLZmT34

 

This content is provided for educational purposes only, intended to explore the capabilities of computer vision and AI synthesis. The community is invited to provide constructive feedback or ask technical questions regarding the installation process and model optimization.

Eran Feit

bit.ly
u/Feitgemel — 8 days ago

FaceFusion Face Swap Is WILD (Full FaceFusion Installation and Tutorial)

FaceFusion technology represents a significant shift in the accessibility of high-fidelity image and video synthesis. This tutorial provides a comprehensive guide to installing and utilizing FaceFusion for face swapping, focusing on the underlying architecture and the systematic workflow required to achieve seamless results.

The Insight :

The core technical challenge in face swapping lies in maintaining temporal consistency and lighting alignment across varying frames. FaceFusion addresses this by leveraging advanced deep learning models that decouple identity features from attribute features (such as expression and pose). This specific approach was chosen because it allows for high-resolution output without the extensive retraining typically required by older GAN-based architectures. By utilizing pre-trained models within a streamlined framework, developers can achieve professional-grade synthesis on consumer-grade hardware.

 The Lesson :

The workflow begins with the environment configuration, ensuring that the necessary dependencies—including Python, FFmpeg, and CUDA for GPU acceleration—are correctly mapped. Once the environment is stable, the process moves from the selection of the source identity to the target medium. The logic behind the code centers on the "Processor" pipeline, where the software executes face detection, followed by the swapping algorithm, and finally, a restoration phase to enhance facial details. This modular sequence ensures that each step of the inference is optimized for both speed and visual fidelity.

 

Full tutorial  :

 Detailed explanation : https://youtu.be/oGGDHLZmT34

 

This content is provided for educational purposes only, intended to explore the capabilities of computer vision and AI synthesis. The community is invited to provide constructive feedback or ask technical questions regarding the installation process and model optimization.

Eran Feit

u/Feitgemel — 8 days ago

How to Train Detectron2 on Custom Object Detection Data

For anyone studying How to Train Detectron2 on Custom Data:

The core technical challenge addressed in this tutorial is the transition from using pre-trained models on standardized public benchmarks to implementing object detection on private, domain-specific data. This shift requires overcoming specific hurdles in dataset registration and architecture configuration to ensure the model properly parses new data structures. Detectron2, paired with a Faster R-CNN backbone, was selected for this task because its modular architecture allows for a seamless transition between CPU and GPU environments, while its robust region proposal network provides high-precision feature extraction adaptable to any custom class.

 

The workflow begins with data annotation, where objects within the raw images are manually labeled with bounding boxes and exported into a COCO-formatted JSON file. Next, the dataset is formally registered within the Detectron2 ecosystem, mapping the local image directories to the annotation files so the framework can understand the data structure. Following registration, the training configuration is defined by adjusting hyperparameters such as the learning rate, batch size, and class count for the Default Trainer. Finally, the process concludes with inference and visualization, where the trained weights are loaded to generate bounding boxes, class labels, and confidence scores on unseen test images.

 

Reading on Medium: https://medium.com/object-detection-tutorials/how-to-train-detectron2-on-custom-object-detection-data-61f67bf27b77

Deep-dive video walkthrough: https://youtu.be/MhOWCbwhaYo

Detailed written explanation and source code: https://eranfeit.net/how-to-train-detectron2-on-custom-object-detection-data/?utm_source=reddit_campain_source&utm_medium=reddit+forum&utm_campaign=detectron2&utm_id=reddit_campaign_id

 

This content is provided for educational purposes only. I invite the community to review the methodology, provide constructive feedback, or ask any technical questions regarding the implementation.

 

Eran Feit

#Detectron2 #ObjectDetection #ComputerVision

https://preview.redd.it/ecwkr8wq5r0h1.png?width=1280&format=png&auto=webp&s=76d99eae7f8ad756b9b297e75d37e7d4fb12a3f8

reddit.com
u/Feitgemel — 11 days ago

How to Train Detectron2 on Custom Object Detection Data

For anyone studying How to Train Detectron2 on Custom Data:

The core technical challenge addressed in this tutorial is the transition from using pre-trained models on standardized public benchmarks to implementing object detection on private, domain-specific data. This shift requires overcoming specific hurdles in dataset registration and architecture configuration to ensure the model properly parses new data structures. Detectron2, paired with a Faster R-CNN backbone, was selected for this task because its modular architecture allows for a seamless transition between CPU and GPU environments, while its robust region proposal network provides high-precision feature extraction adaptable to any custom class.

 

The workflow begins with data annotation, where objects within the raw images are manually labeled with bounding boxes and exported into a COCO-formatted JSON file. Next, the dataset is formally registered within the Detectron2 ecosystem, mapping the local image directories to the annotation files so the framework can understand the data structure. Following registration, the training configuration is defined by adjusting hyperparameters such as the learning rate, batch size, and class count for the Default Trainer. Finally, the process concludes with inference and visualization, where the trained weights are loaded to generate bounding boxes, class labels, and confidence scores on unseen test images.

 

Reading on Medium: https://medium.com/object-detection-tutorials/how-to-train-detectron2-on-custom-object-detection-data-61f67bf27b77

Deep-dive video walkthrough: https://youtu.be/MhOWCbwhaYo

Detailed written explanation and source code: https://eranfeit.net/how-to-train-detectron2-on-custom-object-detection-data/?utm_source=reddit_campain_source&utm_medium=reddit+forum&utm_campaign=detectron2&utm_id=reddit_campaign_id

 

This content is provided for educational purposes only. I invite the community to review the methodology, provide constructive feedback, or ask any technical questions regarding the implementation.

 

Eran Feit

#Detectron2 #ObjectDetection #ComputerVision

https://preview.redd.it/11djoqwo5r0h1.png?width=1280&format=png&auto=webp&s=9014778444d73a77970cf320ea5c7003b7b6d640

reddit.com
u/Feitgemel — 11 days ago

How to Train Detectron2 on Custom Object Detection Data [Project]

For anyone studying How to Train Detectron2 on Custom Data:

The core technical challenge addressed in this tutorial is the transition from using pre-trained models on standardized public benchmarks to implementing object detection on private, domain-specific data. This shift requires overcoming specific hurdles in dataset registration and architecture configuration to ensure the model properly parses new data structures. Detectron2, paired with a Faster R-CNN backbone, was selected for this task because its modular architecture allows for a seamless transition between CPU and GPU environments, while its robust region proposal network provides high-precision feature extraction adaptable to any custom class.

 

The workflow begins with data annotation, where objects within the raw images are manually labeled with bounding boxes and exported into a COCO-formatted JSON file. Next, the dataset is formally registered within the Detectron2 ecosystem, mapping the local image directories to the annotation files so the framework can understand the data structure. Following registration, the training configuration is defined by adjusting hyperparameters such as the learning rate, batch size, and class count for the Default Trainer. Finally, the process concludes with inference and visualization, where the trained weights are loaded to generate bounding boxes, class labels, and confidence scores on unseen test images.

 

Reading on Medium: https://medium.com/object-detection-tutorials/how-to-train-detectron2-on-custom-object-detection-data-61f67bf27b77

Deep-dive video walkthrough: https://youtu.be/MhOWCbwhaYo

Detailed written explanation and source code: https://eranfeit.net/how-to-train-detectron2-on-custom-object-detection-data/?utm_source=reddit_campain_source&utm_medium=reddit+forum&utm_campaign=detectron2&utm_id=reddit_campaign_id

 

This content is provided for educational purposes only. I invite the community to review the methodology, provide constructive feedback, or ask any technical questions regarding the implementation.

 

Eran Feit

#Detectron2 #ObjectDetection #ComputerVision

https://preview.redd.it/yy8kg0dk5r0h1.png?width=1280&format=png&auto=webp&s=cb1cf71687f5270f89fb0e6867d5c2d6613e2573

reddit.com
u/Feitgemel — 11 days ago