diff --git a/modules/calib3d/include/opencv2/calib3d.hpp b/modules/calib3d/include/opencv2/calib3d.hpp index 560bc2ac8a..9116491250 100644 --- a/modules/calib3d/include/opencv2/calib3d.hpp +++ b/modules/calib3d/include/opencv2/calib3d.hpp @@ -3874,7 +3874,7 @@ void initUndistortRectifyMap(InputArray cameraMatrix, InputArray distCoeffs, Size size, int m1type, OutputArray map1, OutputArray map2); /** @brief Computes the projection and inverse-rectification transformation map. In essense, this is the inverse of -#initUndistortRectifyMap to accomodate stereo-rectification of projectors ('inverse-cameras') in projector-camera pairs. +#initUndistortRectifyMap to accommodate stereo-rectification of projectors ('inverse-cameras') in projector-camera pairs. The function computes the joint projection and inverse rectification transformation and represents the result in the form of maps for #remap. The projected image looks like a distorted version of the original which, diff --git a/modules/calib3d/test/test_stereomatching.cpp b/modules/calib3d/test/test_stereomatching.cpp index 826c4c8a3b..9ea16110b1 100644 --- a/modules/calib3d/test/test_stereomatching.cpp +++ b/modules/calib3d/test/test_stereomatching.cpp @@ -219,7 +219,7 @@ void computeOcclusionBasedMasks( const Mat& leftDisp, const Mat& _rightDisp, } /* - Calculate depth discontinuty regions: pixels whose neiboring disparities differ by more than + Calculate depth discontinuity regions: pixels whose neighboring disparities differ by more than dispGap, dilated by window of width discontWidth. */ void computeDepthDiscontMask( const Mat& disp, Mat& depthDiscontMask, const Mat& unknDispMask = Mat(), diff --git a/modules/core/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp b/modules/core/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp index 04b0c4c6cb..3c272d7862 100644 --- a/modules/core/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp +++ b/modules/core/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp @@ -13,7 +13,7 @@ #endif #include "tbb/tbb.h" #if !defined(TBB_INTERFACE_VERSION) -#error "Unknows/unsupported TBB version" +#error "Unknown/unsupported TBB version" #endif #if TBB_INTERFACE_VERSION >= 8000 diff --git a/modules/core/test/test_operations.cpp b/modules/core/test/test_operations.cpp index 9dfc030b2e..5486bbb39e 100644 --- a/modules/core/test/test_operations.cpp +++ b/modules/core/test/test_operations.cpp @@ -69,7 +69,7 @@ protected: bool TestSparseMat(); bool TestVec(); bool TestMatxMultiplication(); - bool TestMatxElementwiseDivison(); + bool TestMatxElementwiseDivision(); bool TestDivisionByValue(); bool TestInplaceDivisionByValue(); bool TestMatMatxCastSum(); @@ -957,7 +957,7 @@ bool CV_OperationsTest::TestMatMatxCastSum() return true; } -bool CV_OperationsTest::TestMatxElementwiseDivison() +bool CV_OperationsTest::TestMatxElementwiseDivision() { try { @@ -1248,7 +1248,7 @@ void CV_OperationsTest::run( int /* start_from */) if (!TestMatxMultiplication()) return; - if (!TestMatxElementwiseDivison()) + if (!TestMatxElementwiseDivision()) return; if (!TestDivisionByValue()) diff --git a/modules/dnn/src/dnn_utils.cpp b/modules/dnn/src/dnn_utils.cpp index b6f1d3fcce..5cc1359b0d 100644 --- a/modules/dnn/src/dnn_utils.cpp +++ b/modules/dnn/src/dnn_utils.cpp @@ -187,7 +187,7 @@ void blobFromImagesNCHWImpl(const std::vector& images, Mat& blob_, const Im if (param.mean == Scalar() && param.scalefactor == Scalar::all(1.0)) return; - CV_CheckTypeEQ(param.ddepth, CV_32F, "Scaling and mean substraction is supported only for CV_32F blob depth"); + CV_CheckTypeEQ(param.ddepth, CV_32F, "Scaling and mean subtraction is supported only for CV_32F blob depth"); for (size_t k = 0; k < images.size(); ++k) { diff --git a/modules/dnn/src/layers/einsum_layer.cpp b/modules/dnn/src/layers/einsum_layer.cpp index ff1062badb..b215fd749a 100644 --- a/modules/dnn/src/layers/einsum_layer.cpp +++ b/modules/dnn/src/layers/einsum_layer.cpp @@ -1179,7 +1179,7 @@ Mat LayerEinsumImpl::pairwiseOperandProcess( shape(currentLeft), reshaped_dims)) { - // This can be done because curent_* tensors (if they exist) and output tensors are + // This can be done because current_* tensors (if they exist) and output tensors are // intermediate tensors and cannot be input tensors to the Einsum node itself // (which are immutable). currentLeft = currentLeft.reshape(1, reshaped_dims.size(), reshaped_dims.data()); diff --git a/modules/dnn/src/layers/scatterND_layer.cpp b/modules/dnn/src/layers/scatterND_layer.cpp index e64cbfae3e..a4623614ea 100644 --- a/modules/dnn/src/layers/scatterND_layer.cpp +++ b/modules/dnn/src/layers/scatterND_layer.cpp @@ -39,7 +39,7 @@ public: else if (reduction_name == "min") reduction = REDUCTION::MIN; else - CV_Error(cv::Error::StsBadArg, "Unkown reduction \"" + reduction_name + "\""); + CV_Error(cv::Error::StsBadArg, "Unknown reduction \"" + reduction_name + "\""); } virtual bool supportBackend(int backendId) CV_OVERRIDE diff --git a/modules/dnn/src/layers/scatter_layer.cpp b/modules/dnn/src/layers/scatter_layer.cpp index 58d2c2daea..015c22bb0b 100644 --- a/modules/dnn/src/layers/scatter_layer.cpp +++ b/modules/dnn/src/layers/scatter_layer.cpp @@ -40,7 +40,7 @@ public: else if (reduction_name == "min") reduction = REDUCTION::MIN; else - CV_Error(cv::Error::StsBadArg, "Unkown reduction \"" + reduction_name + "\""); + CV_Error(cv::Error::StsBadArg, "Unknown reduction \"" + reduction_name + "\""); } virtual bool supportBackend(int backendId) CV_OVERRIDE diff --git a/modules/dnn/src/op_cann.cpp b/modules/dnn/src/op_cann.cpp index c36633dc15..ca6876eb44 100644 --- a/modules/dnn/src/op_cann.cpp +++ b/modules/dnn/src/op_cann.cpp @@ -215,7 +215,7 @@ void CannNet::forward() ACL_CHECK_RET(aclmdlExecute(model_id, inputs, outputs)); CV_LOG_DEBUG(NULL, "DNN/CANN: finished network forward"); - // fetch ouputs from device to host + // fetch outputs from device to host CV_LOG_DEBUG(NULL, "DNN/CANN: start fetching outputs to host"); for (size_t i = 0; i < output_wrappers.size(); ++i) { diff --git a/modules/dnn/src/op_timvx.cpp b/modules/dnn/src/op_timvx.cpp index 4d1bbbc884..1d94007781 100644 --- a/modules/dnn/src/op_timvx.cpp +++ b/modules/dnn/src/op_timvx.cpp @@ -535,7 +535,7 @@ TimVXBackendNode::TimVXBackendNode(const Ptr& tvGraph_, } TimVXBackendNode::TimVXBackendNode(const Ptr& tvGraph_, std::shared_ptr& op_, - std::vector& inputsIndex, std::vector& outpusIndex) + std::vector& inputsIndex, std::vector& outputsIndex) :BackendNode(DNN_BACKEND_TIMVX) { tvGraph = tvGraph_; @@ -545,8 +545,8 @@ TimVXBackendNode::TimVXBackendNode(const Ptr& tvGraph_, std::shared_ if (!inputsIndex.empty()) inputIndexList.assign(inputsIndex.begin(), inputsIndex.end()); - if (!outpusIndex.empty()) - outputIndexList.assign(outpusIndex.begin(), outpusIndex.end()); + if (!outputsIndex.empty()) + outputIndexList.assign(outputsIndex.begin(), outputsIndex.end()); } bool TimVXBackendNode::opBinding() diff --git a/modules/dnn/src/op_timvx.hpp b/modules/dnn/src/op_timvx.hpp index d08cf64bb5..ad37ec8575 100644 --- a/modules/dnn/src/op_timvx.hpp +++ b/modules/dnn/src/op_timvx.hpp @@ -96,7 +96,7 @@ public: TimVXBackendNode(const Ptr& tvGraph); TimVXBackendNode(const Ptr& tvGraph, const std::shared_ptr& op); TimVXBackendNode(const Ptr& tvGraph, std::shared_ptr& op, - std::vector& inputsIndex, std::vector& outpusIndex); + std::vector& inputsIndex, std::vector& outputsIndex); void setInputTensor(); bool opBinding(); diff --git a/modules/gapi/include/opencv2/gapi/video.hpp b/modules/gapi/include/opencv2/gapi/video.hpp index 4dcc1d4182..25e8e3d26e 100644 --- a/modules/gapi/include/opencv2/gapi/video.hpp +++ b/modules/gapi/include/opencv2/gapi/video.hpp @@ -355,7 +355,7 @@ template<> struct CompileArgTag { static const char* tag() { - return "org.opencv.video.background_substractor_params"; + return "org.opencv.video.background_subtractor_params"; } }; } // namespace detail diff --git a/modules/gapi/src/executor/gstreamingexecutor.cpp b/modules/gapi/src/executor/gstreamingexecutor.cpp index 67ad18dfa2..1a11467129 100644 --- a/modules/gapi/src/executor/gstreamingexecutor.cpp +++ b/modules/gapi/src/executor/gstreamingexecutor.cpp @@ -337,7 +337,7 @@ void rewindToStop(std::vector &in_queues, }); if (expected_stop_count > 0) { - // NB: it requires to substract own queues id from total waiting queue count + // NB: it requires to subtract own queues id from total waiting queue count // because it had got stop message before rewind was called expected_stop_count--; } diff --git a/modules/gapi/test/common/gapi_video_tests_common.hpp b/modules/gapi/test/common/gapi_video_tests_common.hpp index 0f755439c2..4a6c3e8574 100644 --- a/modules/gapi/test/common/gapi_video_tests_common.hpp +++ b/modules/gapi/test/common/gapi_video_tests_common.hpp @@ -381,7 +381,7 @@ inline void testBackgroundSubtractorStreaming(cv::GStreamingCompiled& gapiBackSu compare_f cmpF = AbsSimilarPoints(tolerance, numDiff).to_compare_f(); - // Comparison of G-API and OpenCV substractors + // Comparison of G-API and OpenCV subtractors std::size_t frames = 0u; while (frames <= testNumFrames && gapiBackSub.pull(cv::gout(frame, gapiForeground))) { diff --git a/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp b/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp index b8c7baa8f3..0c3588a452 100644 --- a/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp +++ b/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp @@ -37,7 +37,7 @@ namespace cv { static const char* tag() { - return "org.opencv.test.background_substractor_state_params"; + return "org.opencv.test.background_subtractor_state_params"; } }; @@ -115,7 +115,7 @@ namespace } }; - G_TYPED_KERNEL(GBackSub, , "org.opencv.test.background_substractor") + G_TYPED_KERNEL(GBackSub, , "org.opencv.test.background_subtractor") { static GMatDesc outMeta(GMatDesc in) { return in.withType(CV_8U, 1); } }; @@ -438,10 +438,10 @@ namespace gapiBackSub.start(); EXPECT_TRUE(gapiBackSub.running()); - // OpenCV reference substractor + // OpenCV reference subtractor auto pOCVBackSub = createBackgroundSubtractorKNN(); - // Comparison of G-API and OpenCV substractors + // Comparison of G-API and OpenCV subtractors std::size_t frames = 0u; while (gapiBackSub.pull(cv::gout(frame, gapiForeground))) { pOCVBackSub->apply(frame, ocvForeground, -1); @@ -503,7 +503,7 @@ TEST(StatefulKernel, StateIsChangedViaCompArgsOnReshape) const auto pkg = cv::gapi::kernels(); - // OpenCV reference substractor + // OpenCV reference subtractor auto pOCVBackSubKNN = createBackgroundSubtractorKNN(); auto pOCVBackSubMOG2 = createBackgroundSubtractorMOG2(); diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index ccaa78e31c..5e5f7cbd6e 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -3867,7 +3867,7 @@ CV_EXPORTS_W void demosaicing(InputArray src, OutputArray dst, int code, int dst The function computes moments, up to the 3rd order, of a vector shape or a rasterized shape. The results are returned in the structure cv::Moments. -@param array Single chanel raster image (CV_8U, CV_16U, CV_16S, CV_32F, CV_64F) or an array ( +@param array Single channel raster image (CV_8U, CV_16U, CV_16S, CV_32F, CV_64F) or an array ( \f$1 \times N\f$ or \f$N \times 1\f$ ) of 2D points (Point or Point2f). @param binaryImage If it is true, all non-zero image pixels are treated as 1's. The parameter is used for images only. diff --git a/modules/objdetect/include/opencv2/objdetect/aruco_detector.hpp b/modules/objdetect/include/opencv2/objdetect/aruco_detector.hpp index 9f3e28c511..61c8a00827 100644 --- a/modules/objdetect/include/opencv2/objdetect/aruco_detector.hpp +++ b/modules/objdetect/include/opencv2/objdetect/aruco_detector.hpp @@ -168,12 +168,12 @@ struct CV_EXPORTS_W_SIMPLE DetectorParameters { */ CV_PROP_RW double maxErroneousBitsInBorderRate; - /** @brief minimun standard deviation in pixels values during the decodification step to apply Otsu + /** @brief minimum standard deviation in pixels values during the decodification step to apply Otsu * thresholding (otherwise, all the bits are set to 0 or 1 depending on mean higher than 128 or not) (default 5.0) */ CV_PROP_RW double minOtsuStdDev; - /// error correction rate respect to the maximun error correction capability for each dictionary (default 0.6). + /// error correction rate respect to the maximum error correction capability for each dictionary (default 0.6). CV_PROP_RW double errorCorrectionRate; /** @brief April :: User-configurable parameters. diff --git a/modules/python/src2/cv2.cpp b/modules/python/src2/cv2.cpp index b7df25e510..306559f0e3 100644 --- a/modules/python/src2/cv2.cpp +++ b/modules/python/src2/cv2.cpp @@ -226,7 +226,7 @@ static PyObject* createSubmodule(PyObject* parent_module, const std::string& nam } /// Populates parent module dictionary. Submodule lifetime should be managed /// by the global modules dictionary and parent module dictionary, so Py_DECREF after - /// successfull call to the `PyDict_SetItemString` is redundant. + /// successful call to the `PyDict_SetItemString` is redundant. if (PyDict_SetItemString(parent_module_dict, submodule_name.c_str(), submodule) < 0) { return PyErr_Format(PyExc_ImportError, "Can't register a submodule '%s' (full name: '%s')", diff --git a/modules/videoio/include/opencv2/videoio.hpp b/modules/videoio/include/opencv2/videoio.hpp index 34e95421f8..6b7b25c6f9 100644 --- a/modules/videoio/include/opencv2/videoio.hpp +++ b/modules/videoio/include/opencv2/videoio.hpp @@ -614,9 +614,19 @@ enum { CAP_PROP_IOS_DEVICE_FOCUS = 9001, enum { CAP_PROP_GIGA_FRAME_OFFSET_X = 10001, CAP_PROP_GIGA_FRAME_OFFSET_Y = 10002, CAP_PROP_GIGA_FRAME_WIDTH_MAX = 10003, - CAP_PROP_GIGA_FRAME_HEIGH_MAX = 10004, + CAP_PROP_GIGA_FRAME_HEIGHT_MAX = 10004, +// Typo in pre-5.x sources. Remain for source compatibility +#if CV_VERSION_MAJOR <= 4 + CAP_PROP_GIGA_FRAME_HEIGH_MAX = CAP_PROP_GIGA_FRAME_HEIGHT_MAX, //!< @deprecated +#endif + CAP_PROP_GIGA_FRAME_SENS_WIDTH = 10005, - CAP_PROP_GIGA_FRAME_SENS_HEIGH = 10006 + CAP_PROP_GIGA_FRAME_SENS_HEIGHT = 10006 +// Typo in pre-5.x sources. Remain for source compatibility +#if CV_VERSION_MAJOR <= 4 + , + CAP_PROP_GIGA_FRAME_SENS_HEIGH = CAP_PROP_GIGA_FRAME_SENS_HEIGHT //!< @deprecated +#endif }; //! @} Smartek diff --git a/modules/videoio/include/opencv2/videoio/legacy/constants_c.h b/modules/videoio/include/opencv2/videoio/legacy/constants_c.h index 6bdcc2690b..bda8945d3b 100644 --- a/modules/videoio/include/opencv2/videoio/legacy/constants_c.h +++ b/modules/videoio/include/opencv2/videoio/legacy/constants_c.h @@ -342,9 +342,9 @@ enum CV_CAP_PROP_GIGA_FRAME_OFFSET_X = 10001, CV_CAP_PROP_GIGA_FRAME_OFFSET_Y = 10002, CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX = 10003, - CV_CAP_PROP_GIGA_FRAME_HEIGH_MAX = 10004, + CV_CAP_PROP_GIGA_FRAME_HEIGHT_MAX = 10004, CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH = 10005, - CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH = 10006, + CV_CAP_PROP_GIGA_FRAME_SENS_HEIGHT = 10006, CV_CAP_PROP_INTELPERC_PROFILE_COUNT = 11001, CV_CAP_PROP_INTELPERC_PROFILE_IDX = 11002, diff --git a/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.cpp b/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.cpp index 18c6f4782d..7681469d9d 100644 --- a/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.cpp +++ b/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.cpp @@ -373,7 +373,7 @@ void MSMFStreamChannel::start(const StreamProfile& profile, FrameCallback frameC break; } } - streamState_ = quit ? streamState_ : STREAM_STOPED; + streamState_ = quit ? streamState_ : STREAM_STOPPED; } void MSMFStreamChannel::stop() @@ -385,7 +385,7 @@ void MSMFStreamChannel::stop() streamReader_->Flush(currentStreamIndex_); std::unique_lock lk(streamStateMutex_); streamStateCv_.wait_for(lk, std::chrono::milliseconds(1000), [&]() { - return streamState_ == STREAM_STOPED; + return streamState_ == STREAM_STOPPED; }); } } @@ -474,7 +474,7 @@ STDMETHODIMP MSMFStreamChannel::OnReadSample(HRESULT hrStatus, DWORD dwStreamInd streamStateCv_.notify_all(); } - if (streamState_ != STREAM_STOPPING && streamState_ != STREAM_STOPED) + if (streamState_ != STREAM_STOPPING && streamState_ != STREAM_STOPPED) { HR_FAILED_LOG(streamReader_->ReadSample(dwStreamIndex, 0, nullptr, nullptr, nullptr, nullptr)); if (sample) @@ -505,10 +505,10 @@ STDMETHODIMP MSMFStreamChannel::OnEvent(DWORD /*sidx*/, IMFMediaEvent* /*event*/ STDMETHODIMP MSMFStreamChannel::OnFlush(DWORD) { - if (streamState_ != STREAM_STOPED) + if (streamState_ != STREAM_STOPPED) { std::unique_lock lock(streamStateMutex_); - streamState_ = STREAM_STOPED; + streamState_ = STREAM_STOPPED; streamStateCv_.notify_all(); } return S_OK; diff --git a/modules/videoio/src/cap_obsensor/obsensor_stream_channel_v4l2.cpp b/modules/videoio/src/cap_obsensor/obsensor_stream_channel_v4l2.cpp index 0764ac3ace..2bc3b67250 100644 --- a/modules/videoio/src/cap_obsensor/obsensor_stream_channel_v4l2.cpp +++ b/modules/videoio/src/cap_obsensor/obsensor_stream_channel_v4l2.cpp @@ -176,7 +176,7 @@ Ptr V4L2Context::createStreamChannel(const UvcDeviceInfo& devInf V4L2StreamChannel::V4L2StreamChannel(const UvcDeviceInfo &devInfo) : IUvcStreamChannel(devInfo), devFd_(-1), - streamState_(STREAM_STOPED) + streamState_(STREAM_STOPPED) { devFd_ = open(devInfo_.id.c_str(), O_RDWR | O_NONBLOCK, 0); @@ -203,7 +203,7 @@ V4L2StreamChannel::~V4L2StreamChannel() noexcept void V4L2StreamChannel::start(const StreamProfile& profile, FrameCallback frameCallback) { - if (streamState_ != STREAM_STOPED) + if (streamState_ != STREAM_STOPPED) { CV_LOG_ERROR(NULL, devInfo_.id << ": repetitive operation!") return; @@ -248,7 +248,7 @@ void V4L2StreamChannel::start(const StreamProfile& profile, FrameCallback frameC streamState_ = STREAM_STARTING; uint32_t type = V4L2_BUF_TYPE_VIDEO_CAPTURE; IOCTL_FAILED_EXEC(xioctl(devFd_, VIDIOC_STREAMON, &type), { - streamState_ = STREAM_STOPED; + streamState_ = STREAM_STOPPED; for (uint32_t i = 0; i < MAX_FRAME_BUFFER_NUM; i++) { if (frameBuffList[i].ptr) @@ -279,7 +279,7 @@ void V4L2StreamChannel::grabFrame() IOCTL_FAILED_EXEC(xioctl(devFd_, VIDIOC_QBUF, &buf), { std::unique_lock lk(streamStateMutex_); - streamState_ = STREAM_STOPED; + streamState_ = STREAM_STOPPED; streamStateCv_.notify_all(); return; }); @@ -303,7 +303,7 @@ void V4L2StreamChannel::grabFrame() IOCTL_FAILED_CONTINUE(xioctl(devFd_, VIDIOC_QBUF, &buf)); } std::unique_lock lk(streamStateMutex_); - streamState_ = STREAM_STOPED; + streamState_ = STREAM_STOPPED; streamStateCv_.notify_all(); } @@ -357,7 +357,7 @@ void V4L2StreamChannel::stop() streamState_ = STREAM_STOPPING; std::unique_lock lk(streamStateMutex_); streamStateCv_.wait_for(lk, std::chrono::milliseconds(1000), [&](){ - return streamState_ == STREAM_STOPED; + return streamState_ == STREAM_STOPPED; }); uint32_t type = V4L2_BUF_TYPE_VIDEO_CAPTURE; IOCTL_FAILED_LOG(xioctl(devFd_, VIDIOC_STREAMOFF, &type)); diff --git a/modules/videoio/src/cap_obsensor/obsensor_uvc_stream_channel.hpp b/modules/videoio/src/cap_obsensor/obsensor_uvc_stream_channel.hpp index d967f928d8..1ad7f95e55 100644 --- a/modules/videoio/src/cap_obsensor/obsensor_uvc_stream_channel.hpp +++ b/modules/videoio/src/cap_obsensor/obsensor_uvc_stream_channel.hpp @@ -42,7 +42,7 @@ struct UvcDeviceInfo enum StreamState { - STREAM_STOPED = 0, // stoped or ready + STREAM_STOPPED = 0, // stopped or ready STREAM_STARTING = 1, STREAM_STARTED = 2, STREAM_STOPPING = 3, diff --git a/modules/videoio/test/test_camera.cpp b/modules/videoio/test/test_camera.cpp index 30592b2932..441582c7cd 100644 --- a/modules/videoio/test/test_camera.cpp +++ b/modules/videoio/test/test_camera.cpp @@ -55,7 +55,7 @@ static void test_readFrames(/*const*/ VideoCapture& capture, const int N = 100, // Check that the time between two camera frames and two system time calls // are within 1.5 frame periods of one another. // - // 1.5x is chosen to accomodate for a dropped frame, and an additional 50% + // 1.5x is chosen to accommodate for a dropped frame, and an additional 50% // to account for drift in the scale of the camera and system time domains. EXPECT_NEAR(sysTimeElapsedSecs, camTimeElapsedSecs, framePeriod * 1.5); }