Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

computer-vision

Custom loss function in Keras

August 14, 2022 by Magenaut

I’m working on a image class-incremental classifier approach using a CNN as a feature extractor and a fully-connected block for classifying.

Categories Python, Q&A Tags computer-vision, deep-learning, keras, python, tensorflow Leave a comment

How does Pytorch’s “Fold” and “Unfold” work?

August 13, 2022 by Magenaut

I’ve gone through the official doc. I’m having a hard time understanding what this function is used for and how it works. Can someone explain this in layman’s terms?

Categories Python, Q&A Tags computer-vision, deep-learning, machine-learning, python, pytorch Leave a comment

Automatic contrast and brightness adjustment of a color photo of a sheet of paper with OpenCV

August 13, 2022 by Magenaut

When photographing a sheet of paper (e.g. with phone camera), I get the following result (left image) (jpg download here). The desired result (processed manually with an image editing software) is on the right:

Categories Python, Q&A Tags computer-vision, image, image-processing, opencv, python Leave a comment

Combining Two Images with OpenCV

August 13, 2022 by Magenaut

I’m trying to use OpenCV 2.1 to combine two images into one, with the two images placed adjacent to each other. In Python, I’m doing:

Categories Python, Q&A Tags computer-vision, image-processing, opencv, python Leave a comment

Converting an OpenCV Image to Black and White

August 12, 2022 by Magenaut

How do you convert a grayscale OpenCV image to black and white? I see a similar question has already been asked, but I’m using OpenCV 2.3, and the proposed solution no longer seems to work.

Categories Python, Q&A Tags computer-vision, image-processing, opencv, python Leave a comment

Image transformation in OpenCV

August 11, 2022 by Magenaut

This question is related to this question: How to remove convexity defects in sudoku square

Categories Python, Q&A Tags computer-vision, opencv, python, wolfram-mathematica Leave a comment
Newer posts
← Previous Page1 Page2
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress