Comments (9)
At least in C++, I cannot confirm the issue:
I am also using OpenCV 4.9.0, the board settings are the same as yours.
from opencv.
cannot confirm
board settings are the same as yours
That can't be. Your image has a different resolution. What constants did you choose to change?
from opencv.
That can't be. Your image has a different resolution. What constants did you choose to change?
Okay, here is the same image with your image resolution of 200x150:
The other settings are exactly the same as yours.
from opencv.
The problem has been reproduced. There is the problem with some values of the marginSize
parameter.
import cv2 as cv
import sys
arucoDict = cv.aruco.DICT_4X4_1000
boardSize = [7,2]
squareLength = 13
markerLength = 10
dictionary = cv.aruco.getPredefinedDictionary(arucoDict)
board = cv.aruco.CharucoBoard(boardSize, squareLength, markerLength, dictionary)
image = board.generateImage([2*200, 2*150], marginSize=24)
cv.imshow("image", image)
cv.waitKey(0)
from opencv.
@asmorkalov Is this function producing different results in different machines for the same inputs like observed by @jf99.
Are you seeing this bug only for these inputs and not for the inputs in my repro code?
from opencv.
@giri-kum the problem has been reproduced with C++ code too.
aruco::Dictionary dict = aruco::getPredefinedDictionary(aruco::DICT_4X4_1000);
aruco::CharucoBoard board(Size(7ull, 2ull), 13, 10, dict);
Mat res;
board.generateImage(Size(2*200, 2*150), res, 24);
imshow("res", res);
waitKey(0);
from opencv.
@AleksandrPanov I got the same image while reproducing the issue. I am not understanding if this problem is with the createCharucoBoard()
function or the generateImage(Size outSize, OutputArray img, int marginSize, int borderBits)
function. Both are in aruco_board.cpp
file.
from opencv.
@AleksandrPanov I would like to work on this issue but I am not sure how marginSize
affects the results on the charuco board. Can you please help me?
from opencv.
@Dhanwanth1803, I fixed problem and preparing PR now
from opencv.
Related Issues (20)
- [ERROR:[email protected]] global obsensor_uvc_stream_channel.cpp:159 cv::obsensor::getStreamChannelGroup Camera index out of range.... THIS IS THE ERROR IM FACING WHAT SHOULD I DO TO SOLVE IT HOT 1
- A opencv.js bug in function floodFill HOT 12
- How to create a Net object without using readNet? HOT 3
- eigen2cv not working HOT 5
- OpenCV 4.9.0 Huawei CANN support error: CANN graph check failed in function 'compileCannGraph' HOT 4
- GpuMat::convertTo( cv::cuda::GpuMat, CV_16FC3); HOT 4
- Issue in opencv 4.8.1 in combination with gocv (0.35.0) HOT 3
- No signature of method: build_cwq1ym9kvvkr996bahjr043qz.android() is applicable for argument types: (build_cwq1ym9kvvkr996bahjr043qz$_run_closure1) values: [build_cwq1ym9kvvkr996bahjr043qz$_run_closure1@1fe21429] HOT 1
- mouse events didn't work with me on notebook python version HOT 1
- Apple Privacy Info file HOT 1
- error building 4.9.0 with MSVS HOT 2
- OCL_FP16 target tests failed in CI linux64-avx2 HOT 5
- The picture of the previous operation will be displayed in the background on iOS 17 HOT 2
- 5.x: Recreate deleted C-API tests in C++
- PLY models with unknown vertex properties are loaded incorrectly
- Logical defect in FilterSpecklesImpl
- findCirclesGrid can't detect rotated SYMMETRIC_GRID HOT 2
- TFLite importer: add support to SPLIT operation HOT 5
- HDR CalibrateDebevec: triangleWeights() should be 0 at limits
- infinite loop in findEssentialMat with 4.9.0 conda HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv.